top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the structure of ActionResult return type in MVC framework??

+2 votes
437 views
What is the structure of ActionResult return type in MVC framework??
posted Oct 8, 2013 by Atul Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Not clear what you want to know? Please explain in detail?
In MVC framework, methods inside controller class can send the views based on the model data and url request. these methods use to have ActionResult as return type. So the question is asking the structure of this return type.

1 Answer

+2 votes

Every method in a controller class returns an ActionResult by default. An ActionResult is a return type of a controller method, also called an action method. ActionResult encapsulates the result of an action method and is used to perform a framework level operation on behalf of the action method.

answer Oct 15, 2013 by Deepika Soundararajan
...