Example
Is this right?
context.Products.Where(condition).Skip(x).Take(y);
To get :
So the correct syntax will be:
// pageIndex => the page index. page starting at 1.
// pageSize => the page size.
context.Products.Where(condition).Skip((pageIndex - 1) * pageSize).Take(pageSize);
If you page start at 0, so you will do:
context.Products.Where(condition).Skip(pageIndex * pageSize).Take(pageSize);