// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; namespace Microsoft.AspNetCore.Mvc { /// /// A that when executed will produce a Conflict (409) response. /// [DefaultStatusCode(DefaultStatusCode)] public class ConflictResult : StatusCodeResult { private const int DefaultStatusCode = StatusCodes.Status409Conflict; /// /// Creates a new instance. /// public ConflictResult() : base(DefaultStatusCode) { } } }