public async Task <IEnumerable <TEntity> > AllAsync(int pageIndex, int pageSize) { var pagingOptions = PagingOptions.Create(pageIndex, pageSize); return(await AllAsync(pagingOptions)); }
public async Task <IEnumerable <TEntity> > FindAsync(Expression <Func <TEntity, bool> > predicate, int pageIndex, int pageSize) { var pagingOptions = PagingOptions.Create(pageIndex, pageSize); return(await FindAsync(predicate, pagingOptions)); }
public IEnumerable <TEntity> All(int pageIndex, int pageSize) { var pagingOptions = PagingOptions.Create(pageIndex, pageSize); return(All(pagingOptions)); }