2 instantiations of UnprocessableEntityResult
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
1778
=> new
UnprocessableEntityResult
();
Microsoft.AspNetCore.Mvc.Core.Test (1)
UnprocessableEntityResultTests.cs (1)
14
var result = new
UnprocessableEntityResult
();
7 references to UnprocessableEntityResult
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (3)
1773
/// Creates an <see cref="
UnprocessableEntityResult
"/> that produces a <see cref="StatusCodes.Status422UnprocessableEntity"/> response.
1775
/// <returns>The created <see cref="
UnprocessableEntityResult
"/> for the response.</returns>
1777
public virtual
UnprocessableEntityResult
UnprocessableEntity()
UnprocessableEntityResult.cs (1)
19
/// Creates a new <see cref="
UnprocessableEntityResult
"/> instance.
Microsoft.AspNetCore.Mvc.Core.Test (3)
ControllerBaseTest.cs (2)
2072
var
result = controller.UnprocessableEntity();
2075
Assert.IsType<
UnprocessableEntityResult
>(result);
UnprocessableEntityResultTests.cs (1)
14
var
result = new UnprocessableEntityResult();