A Web API controller action can return the following types:
void
HttpResponseMessage
IHttpActionResult
Other types, such as IEnumerable, object, collections, etc.
Dhananjay Kumar is a Consultant and Trainer from India and organizer of one of the world's largest Angular conferences, ng-India
A Web API controller action can return the following types:
void
HttpResponseMessage
IHttpActionResult
Other types, such as IEnumerable, object, collections, etc.