public List <Course> GetCoursesByStudentId(int studentId)
        {
            List <int>    ids     = EnrollCourseManager.GetCourseIdsByStudentId(studentId);
            List <Course> courses = new List <Course>();

            foreach (int id in ids)
            {
                Course course = CourseManager.GetCourseById(id);
                courses.Add(course);
            }
            return(courses);
        }
 public StudentResultManager()
 {
     StudentResultGateway = new StudentResultGateway();
     CourseManager        = new CourseManager();
     EnrollCourseManager  = new EnrollCourseManager();
 }