예제 #1
0
 public async Task Notify(string message)
 {
     await _mediatr.Notify(new DomainNotification(this.GetType().Name, message));
 }
예제 #2
0
        protected async Task <ValidationResult> NotifyAndReturn(string message)
        {
            await _mediatr.Notify(new DomainNotification(typeof(TAggregateRoot).Name, message));

            return(_validationResult);
        }