Beispiel #1
0
        public override object Page()
        {
            ReturnInfo <PagingInfo <AttachmentInfo> > returnInfo = DoPage();
            ReturnInfo <bool> reInfo = FilterDownLoadPermissionFileAddress(returnInfo.Data.Rows);

            if (reInfo.Failure())
            {
                returnInfo.FromBasic(reInfo);
            }

            return(PagingReturnConvert.Convert <AttachmentInfo>(returnInfo));
        }
Beispiel #2
0
        public override object Page()
        {
            var comData = HttpContext.CreateCommonUseData(ComUseDataFactory, menuCode: MenuCode(), functionCodes: FunCodeDefine.QUERY_CODE);
            ReturnInfo <PagingInfo <AttachmentInfo> > returnInfo = DoPage(comData);
            ReturnInfo <bool> reInfo = FilterDownLoadPermissionFileAddress(returnInfo.Data.Rows, comData);

            if (reInfo.Failure())
            {
                returnInfo.FromBasic(reInfo);
            }

            return(PagingReturnConvert.Convert <AttachmentInfo>(returnInfo));
        }
        public virtual object Page()
        {
            ReturnInfo <PagingInfo <ModelT> > returnInfo = DoPage();

            return(PagingReturnConvert.Convert <ModelT>(returnInfo));
        }
        public virtual async Task <object> Page()
        {
            ReturnInfo <PagingInfo <ModelT> > returnInfo = await DoPageAsync();

            return(PagingReturnConvert.Convert <ModelT>(returnInfo));
        }