Ejemplo n.º 1
0
        public ActionResult DashboardTeacherStudentCourse(int courseId)
        {
            DashboardTeacherStudentCourseViewModel model = new DashboardTeacherStudentCourseViewModel()
            {
                Students = _db.GetUsersForCourse(courseId),
                Course   = _db.GetCourse(courseId)
            };

            return(View("DashboardTeacherStudentCourse", model));
        }