public void Can_log_Admin_IP_Regulation_Updated() { var @event = new AdminIpRegulationUpdated(); _serviceBus.PublishMessage(@event); AssertAdminActivityLog(@event, AdminActivityLogCategory.BackendIPRegulation); }
public void Consume(AdminIpRegulationUpdated message) { _eventHandlers.Handle(message); }
public void Handle(AdminIpRegulationUpdated @event) { AddActivityLog(AdminActivityLogCategory.BackendIPRegulation, @event); }