1.

Name A Few Different Return Types Of A Controller Action Method?

Answer»

The following are just a few RETURN types of a CONTROLLER action method. In general an action method can return an instance of a any class that derives from ACTIONRESULT class.
1. ViewResult
2. JavaScriptResult
3. RedirectResult
4. ContentResult
5. JsonResult

 

The following are just a few return types of a controller action method. In general an action method can return an instance of a any class that derives from ActionResult class.
1. ViewResult
2. JavaScriptResult
3. RedirectResult
4. ContentResult
5. JsonResult

 



Discussion

No Comment Found