public void Run() { List <Customer> customers = customerRepo.ReturnCustomers(); bool running = true; while (running) { string input = ConsoleMenu(); switch (input) { case "1": AddCustomer(); break; case "2": Console.WriteLine("What is the last name of the customer you would like to edit?\n"); string lastName1 = Console.ReadLine(); EditCustomer(lastName1); break; case "3": Console.WriteLine("\nWhat is the last name of the customer you would like to view?\n"); string lastName = Console.ReadLine(); GetCustomer(lastName); break; case "4": ViewCustomers(); break; case "5": running = false; break; default: break; } } }