public IQueryable <Customer> GetCustomers(int count, int page) { var result = DBSet.OrderByDescending(p => p.Modified); var skippedstarts = result.Skip(count * (page - 1)); return(skippedstarts.Take(count)); }