API

Results.Created

Creates a 201 result with a Location value.

Formal Syntax & Structure

csharp syntaxcsharp
Results.Created("/books/4", dto)

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Results.Created("/books/4", dto)
C# & .NET Reference