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;
 }
Example #2
0
 public void SetOrderState(OrderState state)
 {
     CurrentOrderState = state;
 }
 public void SetOrderState(OrderState state)
 {
     CurrentOrderState = state;
 }