Esempio n. 1
0
 public static IQueryable <T> Limit <T>(this IQueryable <T> table, PagedQueryBase query)
 => table.Limit(query.Page, query.Results);
Esempio n. 2
0
 public static async Task <PagedResult <T> > PaginateAsync <T>(this IQueryable <T> table, PagedQueryBase query)
 => await table.PaginateAsync(query.Page, query.Results);