public ActionResult Create(UTOrganization departmentEntity) { try { ModelOrganizationManageIndex model = new ModelOrganizationManageIndex(); model.Save(departmentEntity); var option = DialogOption.GetDefaultInstance(); option.RefreshOpenerAsynchronous = false; return Content(WebTools.ScriptCloseDialog(option)); } catch { Error = CNDreams.Resources.Properties.Resources.M00002E; ViewBag.PageState = PageState; return View(departmentEntity); } }
// private IServiceSysUser bizSysUser; // // GET: /ModuleSys/OrganizationManage/ /// <summary> /// 组织机构管理 /// 作者:尤啸 /// 日期:2012-07-02 /// </summary> /// <param name="model"></param> /// <returns></returns> public ActionResult Index(ModelOrganizationManageIndex model) { model.RetriveData(); return View(model); }