public static IQueryable <T> Limit <T>(this IQueryable <T> collection, PagedQueryBase query) => collection.Limit(query.Page, query.Results);
public static PagedResult <T> Paginate <T>(this IQueryable <T> collection, PagedQueryBase query) => collection.Paginate(query.Page, query.Results);