API
Results.Problem
Creates a problem-details response with specified status and title.
Formal Syntax & Structure
csharp syntaxcsharp
Results.Problem(statusCode: 404, title: "Order not found")Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Results.Problem(statusCode: 404, title: "Order not found")