コード例 #1
0
        public ActionResult EditSections()
        {
            SectionOffering offering = new SectionOffering();

            offering.TermOptions       = dao.GetAllTermOptions();
            Session["SectionOffering"] = offering;

            Session["InstructorOptions"] = dao.GetAllInstructorOptions();
            Session["RoomOptions"]       = dao.GetAllRoomOptions();
            Session["TimeOptions"]       = dao.GetAllTimeOptions();

            return(View(offering));
        }