Exemple #1
0
        public ActionResult EditSection(Section sectionModel)
        {
            if (ModelState.IsValid)
            {
                proxy.updateSection(sectionModel);//p.createCourse(model);
                return(RedirectToAction("Detail", new { sectionID = sectionModel.ID }));
            }

            else
            {
                return(RedirectToAction("SectionList"));
            }
        }