![]() It can have void return type.For example, consider the following Delete action method that just deletes the student from the data source and returns nothing. IHttpActionResultVoidIt's not necessary that all action methods must return something. ![]() Action Method Return TypeIn the previous section, you learned about parameter binding with Web API action method.Here, you will learn about the return types of action methods which in turn will be embedded in the Web API response sent to the client.The Web API action method can have following return types. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |