Currently the ErrorMessageResult class is used to generate a result with a BadRequest status code. This is confusing as when the user does something like return new ErrorMessageResult() there is no easy way to know what status code is going to generate, and since this action result specifies a specific action result, it should be named after that.
↧