예제 #1
0
        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();
 }
예제 #3
0
 public CourseController()
 {
     courseContext = new Service.CourseClient();
     classContext  = new Service.ClassClient();
 }