示例#1
0
        public IEnumerable <Menu> GetMenuTree(Guid oprationId)
        {
            OperationMenuCommandBuilder operationMenuCommandBuilder = new OperationMenuCommandBuilder();
            var query = operationMenuCommandBuilder.GetMenuTree(oprationId);

            return(DBManager.GetCollection <Menu>(base.ConnectionHandler, query));
        }
示例#2
0
        public List <Menu> GetOprationMenu(Guid oprationId, int groupId)
        {
            OperationMenuCommandBuilder operationMenuCommandBuilder = new OperationMenuCommandBuilder();
            var query = operationMenuCommandBuilder.GetOprationMenu(oprationId, groupId);

            return(DBManager.GetCollection <Menu>(base.ConnectionHandler, query));
        }