private static void LibraryIndexPicker(string choice) { indexController = new IndexController(); switch (choice) { case "1": Console.WriteLine("All the books available in the Library."); indexController.GetAllBooks(); break; case "2": indexController.CreateBook(); break; case "3": Console.WriteLine("Select a user."); indexController.SelectUsers(); break; default: Console.WriteLine("Not in the list"); break; } }