コード例 #1
0
 public ActionResult Edit(ModelWorkFlowStepEdit model,FormCollection collection)
 {
     try
     {
         model.Save();
         var instance = DialogOption.GetDefaultInstance();
         instance.Index = 2;
         return Content(WebTools.ScriptRefreshDialog(1) + WebTools.ScriptCloseDialog(instance));
     }
     catch
     {
         Error = "操作失败";
         ViewBag.PageState = PageState;
         return View(model);
     }
 }
コード例 #2
0
 public ActionResult Edit(ModelWorkFlowStepEdit model)
 {
     model.RetriveData();
     return View(model);
 }