Exemple #1
0
        public async Task <TData <List <MenuAuthorizeEntity> > > GetPageList(MenuAuthorizeListParam param,
                                                                             Pagination pagination)
        {
            var obj = new TData <List <MenuAuthorizeEntity> >();

            obj.Data = await _menuAuthorizeService.GetPageList(param, pagination);

            obj.Total = pagination.TotalCount;
            obj.Tag   = 1;
            return(obj);
        }
Exemple #2
0
 /// <summary>
 /// 分页查询
 /// </summary>
 /// <param name="pagination">分页信息</param>
 /// <param name="queryJson">查询参数 {keyword:单位名称 } </param>
 /// <returns></returns>
 public IEnumerable <MenuAuthorizeEntity> GetPageList(Pagination pagination, string queryJson)
 {
     return(service.GetPageList(pagination, queryJson));
 }