public Task Notify(string reason, string details)
        {
            var notification = new DomainNotification(reason, details);

            _notifications.Add(notification);
            return(Task.CompletedTask);
        }
 public Task Notify(DomainNotification notification)
 {
     _notifications.Add(notification);
     return(Task.CompletedTask);
 }