Exemple #1
0
        public JsonResult InsertObject(sysmenu_object menuobject)
        {
            menuobject.pkid       = NewGuid;
            menuobject.creater    = SessionUser.UserNo;
            menuobject.createdate = DateTime.Now;
            Permission         permission = new Permission();
            OperateResultModel orm        = permission.InsertMenuObject(menuobject);

            return(JsonResultHelper.ConvertToJsonResult(orm));
        }
Exemple #2
0
        /// <summary>
        /// 插入菜单权限信息
        /// </summary>
        /// <param name="menuobject">菜单对象的对象</param>
        /// <returns></returns>
        public OperateResultModel InsertMenuObject(sysmenu_object menuobject)
        {
            SysMenuObjectDal dal = new SysMenuObjectDal();

            return(dal.Insert(menuobject));
        }