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)
604var result = Results.Created(uri, value) as Created<Todo>;
MySql.ApiService (1)
Program.cs (1)
52return Results.Created($"/catalog/{id}", id);
Nats.ApiService (1)
Program.cs (1)
33return Results.Created($"/stream/{name}", name);
RateLimitingSample (1)
Program.cs (1)
76return Results.Created($"/todoitems/{todo.Id}", todo);
Sample (2)
Program.cs (2)
79v1.MapPost("/todos", (Todo todo) => Results.Created($"/todos/{todo.Id}", todo)) 87v2.MapPost("/users", () => Results.Created("/users/1", new { Id = 1, Name = "Test user" }))