public static Task <HttpResponseMessage> ToHttpResponseAsync(this ResponseBase response) { return(Task.FromResult(HttpResponseMessageHelper.GetJsonOk(response))); }
public static Task<HttpResponseMessage> ToHttpResponseAsync(this object response, Dictionary<string, string> headers = null) { return Task.FromResult(HttpResponseMessageHelper.GetJsonOk(response, headers)); }
public static HttpResponseMessage ToHttpResponse(this ResponseBase response) { return(HttpResponseMessageHelper.GetJsonOk(response)); }
public static HttpResponseMessage ToHttpResponse(this ResponseBase response, Dictionary<string, string> headers = null) { return HttpResponseMessageHelper.GetJsonOk(response, headers); }