Web API method not returning the response
问题 I have a requirement to use Web API. I have implemented Add functionality successfully , and now in the Edit . I am calling the PUT method from my mvc controller thorough and intermediate class and which returns return Request.CreateResponse(HttpStatusCode.OK); This is the return from my PUT method public HttpResponseMessage SampleEdit(int sampleId, Sample sample) { string uri = baseUri + "Sample/" + sampleId; using (HttpClient httpClient = new HttpClient()) { Task<HttpResponseMessage>