protected static Expression <Func <TModel, bool> > GetModelExpression(Expression <Func <TEntity, bool> > filter) { return(ExpressionHelper.Convert <TEntity, TModel>(filter)); }