HttpResponseHelper/CreateJsonResponse
Converts an object to JSON and creates an HttpResponseMessage.
Request Information
Parameters
Name | Description | Type |
---|---|---|
data |
Object to convert to JSON |
Object |
code |
Http status code |
HttpStatusCode |
Response Information
Response Description
Description | Type |
---|---|
HttpResponseMessage |
HttpResponseMessage |