Currently there is an overload that takes HttpStatusCode and T but in many cases HttpStatusCode.OK is the code and in those cases it would be easier just to be able to pass in T.
It would also be useful to have additional CreateErrorResponse for server error, client error, etc.
Comments: Added a CreateResponse overload that only takes T for body. https://aspnetwebstack.codeplex.com/SourceControl/changeset/2ea27ee982c876b063a0a3b0ff21c0872b4f45f3
It would also be useful to have additional CreateErrorResponse for server error, client error, etc.
Comments: Added a CreateResponse overload that only takes T for body. https://aspnetwebstack.codeplex.com/SourceControl/changeset/2ea27ee982c876b063a0a3b0ff21c0872b4f45f3