예제 #1
0
        static void Main(string[] args)
        {
            var schoolController = new SchoolController();

            Console.WriteLine("Creating students...");
            schoolController.PopulateStudents();
            Console.WriteLine("Creating courses...");
            schoolController.PopulateCourses();
            Console.WriteLine("Associating students-courses...");
            schoolController.AssociateStudentsToCourses();
            Console.WriteLine("All done.");
            Console.ReadKey();
        }