Пример #1
0
        /// <summary>
        /// 加入功能的其他Path
        /// </summary>
        /// <param name="menuFuncVO">要加入Path的功能</param>
        /// <param name="path">要加入Path</param>
        public void AddOtherPath(MenuFuncVO menuFuncVO, string path)
        {
            FunctionPathVO functionPathVO = new FunctionPathVO();
            functionPathVO.Path = path;
            functionPathVO.MenuFunc = menuFuncVO;

            MenuFuncDao.CreateFunctionPath(functionPathVO);
        }
Пример #2
0
        /// <summary>
        /// 新增後台功能的其他Path
        /// </summary>
        /// <param name="menuFuncVO">被新增的其他Path</param>
        /// <returns>新增後的其他Path</returns>
        public FunctionPathVO CreateFunctionPath(FunctionPathVO functionPathVO)
        {
            NHibernateDao.Insert(functionPathVO);

            return functionPathVO;
        }