Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http/Http.Results/src/ConflictObjectResult.cs')
-rw-r--r--src/Http/Http.Results/src/ConflictObjectResult.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Http/Http.Results/src/ConflictObjectResult.cs b/src/Http/Http.Results/src/ConflictObjectResult.cs
index 9a90eb7bc0..68308b14d2 100644
--- a/src/Http/Http.Results/src/ConflictObjectResult.cs
+++ b/src/Http/Http.Results/src/ConflictObjectResult.cs
@@ -1,13 +1,12 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
-namespace Microsoft.AspNetCore.Http.Result
+namespace Microsoft.AspNetCore.Http.Result;
+
+internal sealed class ConflictObjectResult : ObjectResult
{
- internal sealed class ConflictObjectResult : ObjectResult
+ public ConflictObjectResult(object? error) :
+ base(error, StatusCodes.Status409Conflict)
{
- public ConflictObjectResult(object? error) :
- base(error, StatusCodes.Status409Conflict)
- {
- }
}
}