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 StudentDataViewModel(IStudentEndpoint studentEndpoint) { this.studentEndpoint = studentEndpoint; LoadStudents(); }