2 instantiations of UnprocessableEntityObjectResult
Microsoft.AspNetCore.Mvc.Core (2)
ControllerBase.cs (2)
1787
=> new
UnprocessableEntityObjectResult
(error);
1799
return new
UnprocessableEntityObjectResult
(modelState);
8 references to UnprocessableEntityObjectResult
Microsoft.AspNetCore.Mvc.Core (8)
ControllerBase.cs (6)
1781
/// Creates an <see cref="
UnprocessableEntityObjectResult
"/> that produces a <see cref="StatusCodes.Status422UnprocessableEntity"/> response.
1784
/// <returns>The created <see cref="
UnprocessableEntityObjectResult
"/> for the response.</returns>
1786
public virtual
UnprocessableEntityObjectResult
UnprocessableEntity([ActionResultObjectValue] object? error)
1790
/// Creates an <see cref="
UnprocessableEntityObjectResult
"/> that produces a <see cref="StatusCodes.Status422UnprocessableEntity"/> response.
1793
/// <returns>The created <see cref="
UnprocessableEntityObjectResult
"/> for the response.</returns>
1795
public virtual
UnprocessableEntityObjectResult
UnprocessableEntity([ActionResultObjectValue] ModelStateDictionary modelState)
UnprocessableEntityObjectResult.cs (2)
19
/// Creates a new <see cref="
UnprocessableEntityObjectResult
"/> instance.
28
/// Creates a new <see cref="
UnprocessableEntityObjectResult
"/> instance.