Ejemplo n.º 1
0
        public static void receptionistTreatments()
        {
            do
            {
                Console.WriteLine(Environment.NewLine + "Treatment Management Menu" + Environment.NewLine + "----------------------");
                Console.WriteLine("Type A to | Add a new Treatment" + Environment.NewLine + "Type V to | View all Treatments" + Environment.NewLine + "Type B to | Return to the Previous Menu");
                string menuChoice = Console.ReadLine().ToUpper();

                switch (menuChoice)
                {
                case "A":
                    Treatment.newTreatment();     //method to create new treatment
                    break;

                case "V":
                    Treatment.treatmentDisplay();     //method to display all treatments
                    break;

                case "B":
                    receptionistMenu(loginBackup);     //load previous menu
                    break;
                }
            } while (!constantMenu);
        }