public ActionResult SaveCondition(AdvancedModel m) { m.LoadScratchPad(); if (m.Validate(ModelState)) { m.UpdateCondition(); DbUtil.Db.SubmitChanges(); } return(View("Conditions", m)); }
public ActionResult SaveCondition(AdvancedModel m) { m.LoadScratchPad(); if (m.Validate(ModelState)) { m.UpdateCondition(); DbUtil.Db.SubmitChanges(); } return(View("Conditions", m)); }