Please explain anyone to me.
Please explain anyone to me.
Software Developer
Hi, my self Ravi Vishwakarma. I have completed my studies at SPICBB Varanasi. now I completed MCA with 76% form Veer Bahadur Singh Purvanchal University Jaunpur. SWE @ MindStick | Software Engineer | Web Developer | .Net Developer | Web Developer | Backend Engineer | .NET Core Developer
There are three types of action methods in Web API:
The type of action method that you use will depend on the specific needs of your application. For example, if you need to return a list of items to the client, you would use a primitive type or complex type action method. If you need to return a custom error message or a custom response body, you would use an
HttpResponseMessageaction method.Here are some examples of action methods:
Code snippet