//GET : Teachers/GetCoursesOfTeacher/5 public ActionResult GetCoursesOfTeacher(int id) { List <CoursesOfTeacher> coursesOfTeacher = teachersRepo.GetCoursesOfTeacher(id); return(PartialView("_CoursesOfTeacher", coursesOfTeacher)); }
//GET : Teachers/GetCoursesOfTeacher/5 public ActionResult GetCoursesOfTeacher(int id) { List <CoursesOfTeacher> coursesOfTeacher = teachersRepo.GetCoursesOfTeacher(id); return(PartialView("_CoursesOfTeacher", coursesOfTeacher)); }