I\'m new to Nancy and I want to return both a custom HttpStatusCode and a body (content). If I return an HttpStatusCode, it returns it with a blank body. If I return a str
This is the simplest way I've found:
Return from your Module:
return new Response { StatusCode = HttpStatusCode.NotFound, ReasonPhrase = "Resource not found" };