public ActionResult Index() { SectionViewModel model = new SectionViewModel(); model = DecorateViewModel <SectionViewModel>(model); model.TimeZones = TimeZones.getDictionary(); return(View(model)); }
public ActionResult Index() { SectionViewModel model = new SectionViewModel(); model = DecorateViewModel <SectionViewModel>(model); model.CourseFormat = CourseFormat.Live; model.EnrollmentStatus = EnrollmentStatus.Closed; model.TimeZones = TimeZones.getDictionary(); model.WikiPageContentType = WikiPageContentType.NotSet; return(View(model)); }