Exemple #1
0
 /// <summary>
 ///     Use this method to validate the action. Validation may include any business rules, required data, and specific data formats.
 /// </summary>
 /// <returns></returns>
 protected override IValidationContext ValidateAction()
 {
     return(validationContext.RenderRules(validationContext.BuildRules(this)));
 }