Esempio n. 1
0
 public void AddOrder()
 {
     _currentOrder = _clientDataAccess.AddOrder(_userContext.Id, _tableId,
         MenuItems.Select(item => new TupleOfintint {m_Item1 = item.MenuItem.Id, m_Item2 = item.Quantity})
             .ToArray());
     CurrentOrderState = OrderState.Placed;
 }
Esempio n. 2
0
 public void AddOrder()
 {
     _currentOrder = _clientDataAccess.AddOrder(_userContext.Id, _tableId,
                                                MenuItems.Select(item => new TupleOfintint {
         m_Item1 = item.MenuItem.Id, m_Item2 = item.Quantity
     })
                                                .ToArray());
     CurrentOrderState = OrderState.Placed;
 }