public ActionResult Create(ModelSysUserTypeManageCreate model, FormCollection collection) { try { model.Save(); var option = DialogOption.GetDefaultInstance(); option.RefreshOpenerAsynchronous = false; return Content(WebTools.ScriptCloseDialog(option)); } catch { Error = Resources.Properties.Resources.M00002E; model.RetriveData(); return View(model); } }
/// <summary> /// 新增或修改角色 /// </summary> /// <returns></returns> public ActionResult Create(ModelSysUserTypeManageCreate model) { model.RetriveData(); return View(model); }