private void Handle(CreateCustomerCommand command) { RaiseEvent(new CustomerCreatedEvent { CustomerId = command.CustomerId, Name = command.Name }); } }