public static IQueryable <TModel> TakePage <TModel>(this IQueryable <TModel> source, PagingOptions paging) { return(paging != null?paging.TakePage(source) : source); }
public IAppQuery <TModel> SetPageOptions(int current, int size) { Paging = new PagingOptions(current, size); return(this); }