3
I see many codes in Controller
where it is used as a method ActionResult
returning Json()
, but I also see an approach using the JsonResult
logically returning Json
.
Is there any difference between these two approaches? Is there a correct pattern to use?
Wouldn’t that be the opposite ? since Jsonresult inherits from Actionresult ....
– Marco Souza
got it, I saw in the documentation that Actionresult is an Abstract class.
– Marco Souza