Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
protected bool CheckCommand(Command request) { if (request.IsValid()) { return(true); } foreach (var validationResultError in request.ValidationResult.Errors) { MediatorHandler.PostNotification(new DomainNotification(request.AggregateId.ToString(), validationResultError.ErrorMessage)); } return(false); }