Exemple #1
0
        /// <summary>
        /// 添加子模块
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSub(string parentID)
        {
            SysAuth parent = SysAuth.Find(parentID);

            CreateAsSub(parent);
        }
Exemple #2
0
        /// <summary>
        /// 添加兄弟模块
        /// </summary>
        /// <param name="module"></param>
        public void CreateAsSibs(string sibID)
        {
            SysAuth sib = SysAuth.Find(sibID);

            CreateAsSib(sib);
        }