Esempio n. 1
0
        /// <summary>
        /// 新增编辑的对话框页面
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public ActionResult Dialog(int Id)
        {
            if (Id > 0)
            {
                SYS_USERINFO user = appUserBll.GetAllAppUserById(Id);
                if (user == null)
                {
                    user = new SYS_USERINFO();
                }
                return(View(user));
            }

            return(View(new SYS_USERINFO()));
        }