public void AppProcessor() { StartScreen(); if (userInput == 1) { if (LoginSystem() == true) { while (featureChoice != 4) { Lawyer newLawyer = new Lawyer(1, "John", "Doe", new DateTime(1980 / 10 / 10), 10, ESpecialization.Corporate, new DateTime(2010 / 01 / 01)); newLawyer.FeaturesLawyer(); featureChoice = int.Parse(Console.ReadLine()); switch (featureChoice) { case 1: newLawyer.AddNewCase(); break; case 2: newLawyer.ListAllCases(); break; case 3: newLawyer.ListOfAppointments(); break; } } } } else if (userInput == 2) { if (LoginSystem() == true) { while (featureChoice != 3) { Admin newAdmin = new Admin(2, "Jens", "Hansen", new DateTime(1982 / 10 / 08), "Intern"); newAdmin.FeaturesAdmin(); featureChoice = int.Parse(Console.ReadLine()); switch (featureChoice) { case 1: newAdmin.ListAllCases(); break; case 2: newAdmin.ListOfAppointments(); break; } } } } else if (userInput == 3) { if (LoginSystem() == true) { while (featureChoice != 5) { Receptionist newReceptionist = new Receptionist(3, "Mie", "Jensen", new DateTime(1981 / 10 / 01)); newReceptionist.FeaturesReceptionist(); featureChoice = int.Parse(Console.ReadLine()); switch (featureChoice) { case 1: newReceptionist.AddNewClient(); break; case 2: newReceptionist.ListOfClients(); break; case 3: newReceptionist.AddNewAppointment(); break; case 4: newReceptionist.ListOfAppointments(); break; } } } } else { while (userInput != 1 && userInput != 2 && userInput != 3) { Console.WriteLine("\nThis is an invalid employee type. Choose either 1, 2, or 3: \n"); AppProcessor(); userInput = int.Parse(Console.ReadLine()); } } }