public StudentSubmitViewModel(
            IStudentEndpoint studentEndpoint,
            ICourseEndpoint courseEndpoint)
        {
            this.studentEndpoint = studentEndpoint;
            this.courseEndpoint  = courseEndpoint;

            StudentCourseEnrollView = new StudentCourseEnrollViewModel(courseEndpoint);

            StudentPhoto = @"http://web.engr.oregonstate.edu/~johnstom/img/people/placeholder.png";
        }
        public CourseManagementViewModel(
            ICourseEndpoint courseEndpoint,
            ITeacherEndpoint teacherEndpoint,
            IStudentEndpoint studentEndpoint,
            IEventAggregator events)
        {
            this.courseEndpoint  = courseEndpoint;
            this.teacherEndpoint = teacherEndpoint;
            this.studentEndpoint = studentEndpoint;
            eventAggregator      = events;

            LoadCourses();
        }
        public StaffManagementViewModel(
            ITeacherEndpoint teacherEndpoint,
            ICourseEndpoint courseEndpoint,
            IEventAggregator eventAggregator
            )
        {
            this.teacherEndpoint = teacherEndpoint;
            this.courseEndpoint  = courseEndpoint;
            this.eventAggregator = eventAggregator;

            TeachersCoursesControlView   = new TeachersCoursesControlViewModel(courseEndpoint, eventAggregator);
            QualificationsAddControlView = new QualificationsAddControlViewModel(eventAggregator);

            SetUpNewStaffMode();

            LoadStaff();
        }
 public StudentCourseEnrollViewModel(ICourseEndpoint courseEndpoint)
 {
     this.courseEndpoint = courseEndpoint;
 }
 public TeachersCoursesControlViewModel(ICourseEndpoint courseEndpoint, IEventAggregator eventAggregator)
 {
     this.courseEndpoint  = courseEndpoint;
     this.eventAggregator = eventAggregator;
     eventAggregator.Subscribe(this);
 }