예제 #1
0
 public StudyPeriodProgramSelectItem(bool includeSemester, IEnumerable <SelectListItem> campusOptions)
 {
     if (YearSemesterPogramSelectItem == null)
     {
         YearSemesterPogramSelectItem = new YearSemesterPogramSelectItem(includeSemester, campusOptions);
     }
 }
예제 #2
0
        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>();
            }
        }