public IEnumerable <Enrollment> GetEnrollmentByCourseId(int id) { return(_enrollmentRepository.GetEnrollmentByCourseId(id)); }