API
TypedResults.NotFound
Creates a typed 404 result without a value.
Formal Syntax & Structure
csharp syntaxcsharp
TypedResults.NotFound()Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.TypedResults.NotFound()