Exemple #1
0
 protected AddCourseFormData(AddCourseFormData formData)
 {
     CohortLearners = formData.CohortLearners;
     SupervisorId   = formData.SupervisorId;
     GroupName      = formData.GroupName;
     CourseName     = formData.CourseName;
 }
Exemple #2
0
 public AddCourseViewModel(
     AddCourseFormData formData,
     int groupId,
     int customisationId,
     IEnumerable <AdminUser> supervisors
     ) : base(formData)
 {
     GroupId         = groupId;
     CustomisationId = customisationId;
     Supervisors     = GetDataForSupervisorsSelectElement(supervisors, formData.SupervisorId);
 }