示例#1
0
        /// <summary>
        ///  获取菜单操作
        /// </summary>
        /// <param name="menuId">menuId</param>
        /// Author  : Napoleon
        /// Created : 2015-01-12 20:06:03
        public ActionResult GetOperate(string menuId)
        {
            string            ruleId     = PublicFields.RuleIdCookies.ReadCookie();
            List <SystemMenu> operations = _menuAndRuleService.GetOperation(ruleId, menuId, PublicFields.ProjectId);
            string            html       = FormatOperate(operations);

            return(Content(html));
        }
示例#2
0
        public List <SystemMenu> GetOperationXml(string ruleId, string menuId, string projectId)
        {
            List <SystemMenu> menus = _menuAndRuleService.GetOperation(ruleId, menuId, projectId);

            return(menus);
        }