static void updateActiveTables() { //int destinationTable = 10; // --- > DEBUG ONLY int destinationTable = Convert.ToInt32(Console.ReadLine()); centralServer.OpenTable(destinationTable); Order o1 = new Order("Bacalhau à Brás", destinationTable, 16.99, Order.ORDER_TYPE.KITCHEN); centralServer.AddNewOrder(destinationTable, o1); Console.WriteLine("ashaha" + centralServer.GetOrder(destinationTable, 1).getPrice()); centralServer.CloseTable(destinationTable); Console.ReadLine(); }
public static void CloseTable(int tableID) { centralServer.CloseTable(tableID); }