7 references to Created
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
842
=>
Created
<object>(uri, value);
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
604
var result = Results.
Created
(uri, value) as Created<Todo>;
MySql.ApiService (1)
Program.cs (1)
52
return Results.
Created
($"/catalog/{id}", id);
Nats.ApiService (1)
Program.cs (1)
33
return Results.
Created
($"/stream/{name}", name);
RateLimitingSample (1)
Program.cs (1)
76
return Results.
Created
($"/todoitems/{todo.Id}", todo);
Sample (2)
Program.cs (2)
79
v1.MapPost("/todos", (Todo todo) => Results.
Created
($"/todos/{todo.Id}", todo))
87
v2.MapPost("/users", () => Results.
Created
("/users/1", new { Id = 1, Name = "Test user" }))