public ActionResult SectionUpdate(int id, int cutline) { SectionRequirementItem item = new SectionRequirementItem(); item.LectureTypeId = 2; item.Cutline = cutline; item.AccountId = accountItem.Id; item.Id = id; try { SectionRequirementDao.Update(item); return Json(new { result = "success" }, JsonRequestBehavior.AllowGet); } catch (Exception ex) { return Json(new { result = "fail", message = ex.Message }, JsonRequestBehavior.AllowGet); } }