public async Task <IEnumerable <Enrollment> > GetStudentsByCourse(int id)
 {
     return(await _instructorRepository.GetStudentsByCourse(id));
 }