mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Fixes
This commit is contained in:
@@ -98,7 +98,7 @@ namespace MusicStore.Apis
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
// Return the model errors
|
||||
return new ValidationErrorResult(ModelState);
|
||||
return HttpBadRequest(ModelState);
|
||||
}
|
||||
|
||||
// Save the changes to the DB
|
||||
|
||||
Reference in New Issue
Block a user