What is iactionresult in c#?
1 Answer(s) Available
Answer # 1 #
IActionResult is an interface, we can create a custom response as a return, when you use ActionResult you can return only predefined ones for returning a View or a resource. Defines a contract that represents the result of an action method. In general terms IActionResult type is a base abstraction of an action result. i often work with Actionresult but never work with IActionresult.
Related Questions
No More Questions available at this moment!