public void Execute(RemoveClientMachineRegistration command) { Guard.ForNull(command); NetworkAggregate network = CreateAggregate(); network.RemoveClientMachine(ClientMachineFromCommand(command)); ExtractEventsToRepository(network.GetUncommittedChanges()); }