// GET: EnrollCourse public ActionResult Index() { List <EnrollCourseViewModel> studentList = entrollCourseManager.GetAllStudent(); ViewBag.studentList = studentList; return(View()); }