Пример #1
0
        internal void TakeOrder(string flavourName, int table)
        {
            CoffeeFlavour flavour = menu.Lookup(flavourName);
            Order         order   = new Order(table, flavour);

            orders.Add(order);
        }
Пример #2
0
 internal Order(int tableNumber, CoffeeFlavour flavour)
 {
     this.tableNumber = tableNumber;
     this.flavour     = flavour;
 }