22 lines
701 B
C#
22 lines
701 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System.Net;
|
|
using Microsoft.AspNet.Mvc;
|
|
|
|
namespace System.Web.Http
|
|
{
|
|
/// <summary>
|
|
/// An action result that returns an empty <see cref="HttpStatusCode.BadRequest"/> response.
|
|
/// </summary>
|
|
public class BadRequestResult : HttpStatusCodeResult
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="BadRequestResult"/> class.
|
|
/// </summary>
|
|
public BadRequestResult()
|
|
: base((int)HttpStatusCode.BadRequest)
|
|
{
|
|
}
|
|
}
|
|
} |