public void MoveCustomer(int customerId, Address newAddress)
        {
            var command = new MoveCustomerCommand
            {
                CustomerId = customerId,
                NewAddress = newAddress
            };

            this.handler.Handle(command);
        }
Esempio n. 2
0
 public void MoveCustomer(MoveCustomerCommand command)
 {
     commandDispatcher.Dispatch(command);
 }