public IEnumerable <Menu> GetMenuTree(Guid oprationId) { OperationMenuCommandBuilder operationMenuCommandBuilder = new OperationMenuCommandBuilder(); var query = operationMenuCommandBuilder.GetMenuTree(oprationId); return(DBManager.GetCollection <Menu>(base.ConnectionHandler, query)); }
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)); }