14 references to NoContent
BasicWebSite (1)
Controllers\ContactApiController.cs (1)
141=> Results.NoContent();
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (2)
1159var result = Results.NoContent() as NoContent; 1760(() => Results.NoContent(), typeof(NoContent)),
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
EndpointMetadataApiDescriptionProviderTest.cs (4)
1245builder.MapPost("/file/upload", (IFormFile file) => Results.NoContent()); 1273[Consumes("application/custom0", "application/custom1")] (IFormFile file) => Results.NoContent()); 1326AssertFormFileCollection((IFormFileCollection files) => Results.NoContent(), "files"); 1327AssertFormFileCollection(([FromForm] IFormFileCollection uploads) => Results.NoContent(), "uploads");
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
GenerationBenchmarks.cs (1)
36_builder.MapDelete($"/{i}", (string id) => Results.NoContent());
Microsoft.AspNetCore.OpenApi.Tests (4)
Services\OpenApiGeneratorTests.cs (4)
772var operation = GetOpenApiOperation((IFormFile file) => Results.NoContent()); 786[Consumes("application/custom0", "application/custom1")] (IFormFile file) => Results.NoContent()); 839AssertFormFileCollection((IFormFileCollection files) => Results.NoContent(), "files"); 840AssertFormFileCollection(([FromForm] IFormFileCollection uploads) => Results.NoContent(), "uploads");
MySql.ApiService (1)
Program.cs (1)
63return rows > 0 ? Results.NoContent() : Results.NotFound();
RateLimitingSample (1)
Program.cs (1)
93return Results.NoContent();