| Different return types of a controller action method
ActionResult is a return type of controller method in asp.net mvc. There are many derived ActionResult types in MVC that we use to return the result of a controller method to the view. ActionResult is a return type of controller method in MVC. ActionResult is abstract class that has many subtypes. Below are the different return types of a controller action method:-
(1)ViewResult
(2)PartialViewResult
(3)ContentResult
(4)RedirectResult
(5)RedirectToRouteResult
(6)JsonResult
(7)EmptyResult
(8)FileResult
(9)JavaScriptResult | | |