public static ISpecificationWithOrdering <T> TakePage <T>( this ISpecificationWithOrdering <T> specification, int pageNumber, int pageSize) { return(specification .TakePage(new PaginationExpression(pageSize, pageNumber))); }
public static ISpecificationWithOrdering <T> TakeAll <T>( this ISpecificationWithOrdering <T> specification) { return(specification .TakePage(null)); }