コード例 #1
0
 public ActionResult Create(UTOrganization departmentEntity)
 {
     try
     {
         ModelOrganizationManageIndex model = new ModelOrganizationManageIndex();
         model.Save(departmentEntity);
         return Content(WebTools.ScriptCloseEmbeddedFrameDialog(DialogOption.GetDefaultInstance()));
     }
     catch
     {
         Error = OASys.Resources.Properties.Resources.M00002E;
         ViewBag.PageState = PageState;
         return View(departmentEntity);
     }
 }
コード例 #2
0
 // private BizSysUser 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);
 }