Question: what is iactionresult in web api?
Answer: IActionResult type. The IActionResult return type is appropriate when multiple ActionResult return types are possible in an action. The ActionResult types represent various HTTP status codes. ... Alternatively, convenience methods in the ControllerBase class can be used to return ActionResult types from an action.