示例#1
0
 protected void NotifyValidationErrors(ValidationResult validationResult)
 {
     foreach (var error in validationResult.Errors)
     {
         _mediatorHandler.PublishEventAsync(new DomainNotification(error.PropertyName, error.ErrorMessage));
     }
 }