Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

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.

[18]
Edit
Query
Report
Hiya Sankar
Health And Safety Adviser

Related Questions

No More Questions available at this moment!