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