Пример #1
0
 public static IQueryable <T> Limit <T>(this IQueryable <T> collection, PagedQueryBase query)
 => collection.Limit(query.Page, query.Results);
Пример #2
0
 public static PagedResult <T> Paginate <T>(this IQueryable <T> collection, PagedQueryBase query)
 => collection.Paginate(query.Page, query.Results);