Ejemplo n.º 1
0
 protected async Task RaiseCommandValidationErrors(Command command)
 {
     foreach (var error in command.ValidationResult.Errors)
     {
         await _mediatorHandler.PublishDomainNotification(new DomainNotification(error.ErrorMessage));
     }
 }