ASP.NET Web API 2 action method return types

A Web API 2 action method return types can be any of the following : Void HttpResponseMessage IHttpActionResult Other type or Complex type   Void When an ASP.NET Web API return type is void, it will return an empty HTTP response. In the following example a web API with void return: Example 1 2 3…

Continue reading