7 references to Accepted
EventHubsApi (1)
Program.cs (1)
28
return Results.
Accepted
();
Microsoft.AspNetCore.Http.Results.Tests (5)
ResultsTests.cs (5)
31
var result = Results.
Accepted
(uri, value) as Accepted<object>;
62
var result = Results.
Accepted
(uri) as Accepted;
73
var result = Results.
Accepted
() as Accepted;
1730
(() => Results.
Accepted
(null, null), typeof(Accepted)),
1731
(() => Results.
Accepted
(null, new()), typeof(Accepted<object>)),
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
48
app.MapPost("/accepts-xml", () =>
Accepted
()).Accepts<Person>("application/xml");