/// <summary> /// Enters the choice from "ViewMenu()" method and enters to the selected choice /// </summary> /// <param name="input"></param> static void ViewChoiceSwitch(string input) { switch (input) { case "1": { ReadDB.Courses(); break; } case "2": { ReadDB.Trainers(); break; } case "3": { ReadDB.Students(); break; } case "4": { ReadDB.Assignments(); break; } case "5": { ReadDB.StudentsPerCourse(); break; } case "6": { ReadDB.TrainersPerCourse(); break; } case "7": { ReadDB.AssignmentsPerCourse(); break; } case "8": { ReadDB.AssignmentsPerCoursePerStudent(); break; } case "9": { ReadDB.StudentsOver1Course(); break; } default: { Console.WriteLine("Invalid selection! Please try again"); break; } } }