Пример #1
0
 public IHttpActionResult RulesetTestModel([CustomizeValidator(RuleSet = "Names")] RulesetTestModel model)
 {
     return(OutputErrors());
 }
Пример #2
0
 public IHttpActionResult TwoParameters([CustomizeValidator(RuleSet = "Names")] RulesetTestModel first, RulesetTestModel second)
 {
     return(OutputErrors());
 }