public async Task GetListPagedAsync_MultipleExist_CorrectObjectsReturned()
 {
     await PerformMultipleObjectPagedRetrieveAsyncTest(() => _session.GetListPagedAsync(PagedPageIndex, PagedItemsPerPage, PagedQuery, PagedCustomProcessing));
 }
Example #2
0
 /// <summary>
 /// Gets the multiple paged elements list asynchronously.
 /// </summary>
 /// <param name="pageIndex">Index of the page.</param>
 /// <param name="itemsPerPage">The items per page number.</param>
 /// <param name="query">The query.</param>
 /// <param name="customProcessing">The custom processing.</param>
 /// <returns></returns>
 public Task <IList <T> > GetPagedAsync(int pageIndex, int itemsPerPage, Expression <Func <T, bool> > query = null, Func <IQueryable <T>, IQueryable <T> > customProcessing = null)
 {
     return(Session.GetListPagedAsync(pageIndex, itemsPerPage, query, customProcessing));
 }