Exemplo n.º 1
0
        public DataTablePage <DocumentDto> GetDocumentPage(DataTablePagingInfo pagingInfo)
        {
            var documentsPage = dataTableService.GetDataTablePage(pagingInfo);

            return(mapper.Map <DataTablePage <Document>, DataTablePage <DocumentDto> >(documentsPage));
        }
Exemplo n.º 2
0
        public DataTablePage <TransactionHistoryDto> GetTransactionsPage(DataTablePagingInfo pagingInfo)
        {
            var transactionsPage = dataTableService.GetDataTablePage(pagingInfo);

            return(mapperService.Map <DataTablePage <TransactionHistory>, DataTablePage <TransactionHistoryDto> >(transactionsPage));
        }