public ActionResult ClassPage() { ClassDbHandler handler = new ClassDbHandler(); ActivityDbHandler activityHandler = new ActivityDbHandler(); UserDbHandler userHandler = new UserDbHandler(); ClassPageData pageData = new ClassPageData(); pageData.classInfo = handler.getClassInfo(2); pageData.assignments = activityHandler.getClassAssignments(2); pageData.content = activityHandler.getClassContent(2); pageData.quizzes = activityHandler.getClassQuizzes(2); pageData.other = activityHandler.getClassOther(2); pageData.username = userHandler.getUsername(1); return(View(pageData)); }