6 references to BadRequestObjectResult
BasicWebSite (1)
StartupWithCustomInvalidModelStateFactory.cs (1)
25
var result = new
BadRequestObjectResult
(context.ModelState);
FormatterWebSite (1)
Filters\ModelStateValidationFilterAttribute.cs (1)
15
context.Result = new
BadRequestObjectResult
(context.ModelState);
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
1769
return new
BadRequestObjectResult
(modelState);
Microsoft.AspNetCore.Mvc.Core.Test (1)
BadRequestObjectResultTests.cs (1)
27
var badRequestObjectResult = new
BadRequestObjectResult
(new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
147
return new
BadRequestObjectResult
(modelState);
PageModel.cs (1)
479
return new
BadRequestObjectResult
(modelState);