what is iactionresult in mvc?
IActionResult is an interface and ActionResult is an implementation of that interface. ActionResults is an abstract class and action results like ViewResult, PartialViewResult, JsonResult, etc., derive from ActionResult. Let's say you want to create an action result not catered to by MVC, say an XML result.