Define ActionResult Return Type

Define ActionResult Return Type

  1. Creating new controllers, they will come with one or more actions by default.
  2.  The Empty controller includes an Index action with a return value of type ActionResult.
  3.  ActionResult class is the base class for all action results.