K.
Explore posts from servers✅ why IActionResult and why not ActionResult?
the idea is that you can return you base default result which is T or you return some other which is another class which represents an error.
Then you don't need to rethrow the errors but rather you expect always the posibility that its the result or some possible error results
129 replies