Interviews Questions and Answers

0

Like

Name a few different return types of a controller action method?


Posted by: Sam
On 25 Mar 2012 | Views: 2088 | Categories: MVC
Interview Answers(1)

 On 25 Mar 2012 09:45:54 AM
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. JavaScriptResult
2. ViewResult
3. JsonResult
4. ContentResult
5. RedirectResult

Post your Answers

 

Other lins

.Net Techies
Other lins