/// <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<T>.</returns> protected virtual IQueryable <T> ApplyOrderBy <T>(IQueryable <T> source, Dictionary <string, SortOrder> filterBy) where T : class { return(_queryBuilder.ApplyOrderBy(source, filterBy)); }
/// <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<T>.</returns> protected virtual IQueryable <TSummery> ApplyOrderBy(IQueryable <TSummery> source, Dictionary <string, SortOrder> filterBy) { return(_queryBuilder.ApplyOrderBy(source, filterBy)); }