private void SelectTables()
 {
     Restro.ShowAvailableTables(true);
     Console.WriteLine("Select Table :");
     TableId = Convert.ToInt32(Console.ReadLine());
     Restro.BookTable(TableId);
 }
Example #2
0
        public void ShowCustomer(IRestro restro)
        {
            UserInfo();

            restro.BookTable();

            restro.Order(UserName);
        }
Example #3
0
        private void BookTable()
        {
BookTable:
            TableModel table = restro.BookTable(restro.ShowTables());

            if (table != null)
            {
                TableAlloted = table;
            }
            else
            {
                goto BookTable;
            }
        }
Example #4
0
 private void ChooseTable(IRestro restro, Customer customer)
 {
     TableId = restro.BookTable(customer);
 }