예제 #1
0
        public void Can_log_Admin_IP_Regulation_Created()
        {
            var @event = new AdminIpRegulationCreated();

            _serviceBus.PublishMessage(@event);
            AssertAdminActivityLog(@event, AdminActivityLogCategory.BackendIPRegulation);
        }
 public void Consume(AdminIpRegulationCreated message)
 {
     _eventHandlers.Handle(message);
 }
예제 #3
0
 public void Handle(AdminIpRegulationCreated @event)
 {
     AddActivityLog(AdminActivityLogCategory.BackendIPRegulation, @event);
 }