public async Task Notify(string message) { await _mediatr.Notify(new DomainNotification(this.GetType().Name, message)); }
protected async Task <ValidationResult> NotifyAndReturn(string message) { await _mediatr.Notify(new DomainNotification(typeof(TAggregateRoot).Name, message)); return(_validationResult); }