public StudyPeriodProgramSelectItem(bool includeSemester, IEnumerable <SelectListItem> campusOptions) { if (YearSemesterPogramSelectItem == null) { YearSemesterPogramSelectItem = new YearSemesterPogramSelectItem(includeSemester, campusOptions); } }
public CourseProgramSelectItem(IEnumerable <SelectListItem> campusOptions) { if (YearSemesterPogramSelectItem == null) { //the semester need to be included, eventually we could set this to null, but for now it is needed...S YearSemesterPogramSelectItem = new YearSemesterPogramSelectItem(true, campusOptions); } if (CourseOptions == null) { CourseOptions = new List <SelectListItem>(); } }