public DataTablePage <DocumentDto> GetDocumentPage(DataTablePagingInfo pagingInfo) { var documentsPage = dataTableService.GetDataTablePage(pagingInfo); return(mapper.Map <DataTablePage <Document>, DataTablePage <DocumentDto> >(documentsPage)); }
public DataTablePage <TransactionHistoryDto> GetTransactionsPage(DataTablePagingInfo pagingInfo) { var transactionsPage = dataTableService.GetDataTablePage(pagingInfo); return(mapperService.Map <DataTablePage <TransactionHistory>, DataTablePage <TransactionHistoryDto> >(transactionsPage)); }