Esempio n. 1
0
        public static void updateCourseMenu()
        {
            Console.Clear();
            Console.WriteLine("Please input the course name:");
            String courseName = Console.ReadLine();

            Console.WriteLine("Please input the course credit:");
            int credit = InputValidation.checkCredit(Console.ReadLine());

            Console.WriteLine("Please input the course max student:");
            int maxStudent = InputValidation.checkCredit(Console.ReadLine());

            school.updateCourse(courseName, credit, maxStudent);
            Console.WriteLine("Press any key to continue");
            Console.ReadLine();
        }