14 references to NoContent
BasicWebSite (1)
Controllers\ContactApiController.cs (1)
141
=> Results.
NoContent
();
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (2)
1159
var result = Results.
NoContent
() as NoContent;
1760
(() => Results.
NoContent
(), typeof(NoContent)),
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
EndpointMetadataApiDescriptionProviderTest.cs (4)
1245
builder.MapPost("/file/upload", (IFormFile file) => Results.
NoContent
());
1273
[Consumes("application/custom0", "application/custom1")] (IFormFile file) => Results.
NoContent
());
1326
AssertFormFileCollection((IFormFileCollection files) => Results.
NoContent
(), "files");
1327
AssertFormFileCollection(([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)
772
var operation = GetOpenApiOperation((IFormFile file) => Results.
NoContent
());
786
[Consumes("application/custom0", "application/custom1")] (IFormFile file) => Results.
NoContent
());
839
AssertFormFileCollection((IFormFileCollection files) => Results.
NoContent
(), "files");
840
AssertFormFileCollection(([FromForm] IFormFileCollection uploads) => Results.
NoContent
(), "uploads");
MySql.ApiService (1)
Program.cs (1)
63
return rows > 0 ? Results.
NoContent
() : Results.NotFound();
RateLimitingSample (1)
Program.cs (1)
93
return Results.
NoContent
();