// 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.AspNet.Http;
namespace Microsoft.AspNet.Mvc
{
///
/// An that when executed will produce a Not Found (404) response.
///
public class HttpNotFoundObjectResult : ObjectResult
{
///
/// Creates a new instance.
///
/// The value to format in the entity body.
public HttpNotFoundObjectResult(object value)
: base(value)
{
StatusCode = StatusCodes.Status404NotFound;
}
}
}