Exemple #1
0
        public void OptionsToAdmin()
        {
            int choice = ShowAdminMenu();

            switch (choice)
            {
            case 1:
                restro.ShowAvailableTables(true);
                break;

            case 2:
                restro.ShowAvailableItems(true);
                break;

            case 3:
                restro.ShowCustomerVisited();
                break;

            case 4:
                Environment.Exit(0);
                break;

            default:
                Console.WriteLine("Wrong Option");
                break;
            }
        }
 private void SelectTables()
 {
     Restro.ShowAvailableTables(true);
     Console.WriteLine("Select Table :");
     TableId = Convert.ToInt32(Console.ReadLine());
     Restro.BookTable(TableId);
 }