Exemple #1
0
 public void SetCommand(int commandOption)
 {
     _orderCommand = new CommandFactory().GetCommand(commandOption);
 }
 public void ExecuteCommand(OrderCommand orderCommand, Item item)
 {
     orderCommand.Execute(this.shoppingList, item);
 }