Esempio n. 1
0
        public Task RaiseEvent <T>(T @event) where T : Event
        {
            if ([email protected]("DomainNotification"))
            {
                _eventStore?.StoreEvent(@event);
            }

            return(_mediator.Publish(@event));
        }