Пример #1
0
 public IHttpActionResult ClearErrorsInterceptorTest([CustomizeValidator(Interceptor = typeof(ClearErrorsInterceptor))] PropertiesTestModel model)
 {
     return(OutputErrors());
 }
Пример #2
0
 public IHttpActionResult PropertiesTestModel([CustomizeValidator(Properties = "Surname,Forename")] PropertiesTestModel model)
 {
     return(OutputErrors());
 }