public StudentClassesViewModel(int studentUserID) { studentContext = new Service.StudentClient(); classContext = new Service.ClassClient(); var studentNumber = GetStudentNumber(studentUserID); LoadUpcomingClasses(studentNumber); LoadAttendedClasses(studentNumber); LoadMissedClasses(studentNumber); }
public StudentController() { studentContext = new Service.StudentClient(); classContext = new Service.ClassClient(); }
public CourseController() { courseContext = new Service.CourseClient(); classContext = new Service.ClassClient(); }