17 lines
399 B
C#
17 lines
399 B
C#
|
namespace System.Web.Mvc {
|
|||
|
|
|||
|
public class HttpNotFoundResult : HttpStatusCodeResult {
|
|||
|
|
|||
|
// HTTP 404 is the status code for Not Found
|
|||
|
private const int NotFoundCode = 404;
|
|||
|
|
|||
|
public HttpNotFoundResult()
|
|||
|
: this(null) {
|
|||
|
}
|
|||
|
|
|||
|
public HttpNotFoundResult(string statusDescription)
|
|||
|
: base(NotFoundCode, statusDescription) {
|
|||
|
}
|
|||
|
}
|
|||
|
}
|