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