In this article, we will see how to create a custom action result method. We create a custom action method to return XML.
So far we have seen the following built-in action result types and the action helper methods that return them.
Content
Now let's see the custom action result method step-by-step:
ASP.NET MVC 5: A Beginner’s Guide