/// <summary>
 /// Applies the order by clauses to the IQueryable given the specified dictionary.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="filterBy">The filter by.</param>
 /// <returns>IQueryable&lt;T&gt;.</returns>
 protected virtual IQueryable <T> ApplyOrderBy <T>(IQueryable <T> source, Dictionary <string, SortOrder> filterBy)
     where T : class
 {
     return(_queryBuilder.ApplyOrderBy(source, filterBy));
 }
Esempio n. 2
0
 /// <summary>
 /// Applies the order by clauses to the IQueryable given the specified dictionary.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="filterBy">The filter by.</param>
 /// <returns>IQueryable&lt;T&gt;.</returns>
 protected virtual IQueryable <TSummery> ApplyOrderBy(IQueryable <TSummery> source, Dictionary <string, SortOrder> filterBy)
 {
     return(_queryBuilder.ApplyOrderBy(source, filterBy));
 }