I am getting the CA1859 suggestion in visual studio when hovering over Problem(Error error) and ValidationProblem(List<Error> errors) in ApiController
is it really a good idea to change the return type from IActionResult to ActionResult or ObjectRresult ?
I am getting the CA1859 suggestion in visual studio when hovering over
Problem(Error error)
andValidationProblem(List<Error> errors)
inApiController
is it really a good idea to change the return type fromIActionResult
toActionResult
orObjectRresult
?