Exemplo n.º 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;
            }
        }