Пример #1
0
        public void Can_log_Admin_IP_Regulation_Deleted()
        {
            var @event = new AdminIpRegulationDeleted();

            _serviceBus.PublishMessage(@event);
            AssertAdminActivityLog(@event, AdminActivityLogCategory.BackendIPRegulation);
        }
 public void Consume(AdminIpRegulationDeleted message)
 {
     _eventHandlers.Handle(message);
 }
Пример #3
0
 public void Handle(AdminIpRegulationDeleted @event)
 {
     AddActivityLog(AdminActivityLogCategory.BackendIPRegulation, @event);
 }