5 instantiations of NotFoundResult
Microsoft.AspNetCore.Mvc.Core (3)
ControllerBase.cs (1)
1732
=> new
NotFoundResult
();
Formatters\FormatFilter.cs (2)
78
context.Result = new
NotFoundResult
();
104
context.Result = new
NotFoundResult
();
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
464
=> new
NotFoundResult
();
PageModel.cs (1)
771
=> new
NotFoundResult
();
10 references to NotFoundResult
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (3)
1727
/// Creates a <see cref="
NotFoundResult
"/> that produces a <see cref="StatusCodes.Status404NotFound"/> response.
1729
/// <returns>The created <see cref="
NotFoundResult
"/> for the response.</returns>
1731
public virtual
NotFoundResult
NotFound()
NotFoundResult.cs (1)
19
/// Creates a new <see cref="
NotFoundResult
"/> instance.
Microsoft.AspNetCore.Mvc.RazorPages (6)
PageBase.cs (3)
460
/// Creates an <see cref="
NotFoundResult
"/> that produces a <see cref="StatusCodes.Status404NotFound"/> response.
462
/// <returns>The created <see cref="
NotFoundResult
"/> for the response.</returns>
463
public virtual
NotFoundResult
NotFound()
PageModel.cs (3)
767
/// Creates an <see cref="
NotFoundResult
"/> that produces a <see cref="StatusCodes.Status404NotFound"/> response.
769
/// <returns>The created <see cref="
NotFoundResult
"/> for the response.</returns>
770
public virtual
NotFoundResult
NotFound()