DotNetTrainees / DIT.AuthenticationService

0 stars 0 forks source link

MediatingControllerBase. expand error message #3

Closed AnnaGolosova closed 2 years ago

AnnaGolosova commented 2 years ago

On the line 37:

        if (!ModelState.IsValid)
        {
            return BadRequest("Invalid data provided");
        }

We need to include validation errors in error message