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