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); }
public void Handle(AdminIpRegulationDeleted @event) { AddActivityLog(AdminActivityLogCategory.BackendIPRegulation, @event); }