C# Class DeveloperMediaDemo.Code.ValidateModelAttribute

If model validation fails, this filter returns an HTTP error response that contains the validation errors. In that case, the controller action is NOT invoked.
Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Datei anzeigen Open project: JohannesHoppe/DeveloperMediaDemo

Public Methods

Method Description
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Method Details

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void