// returns filtered by key and value public virtual List <TEntity> FilterBy(Expression <Func <TEntity, bool> > filter) { _entityRepository.Includes = Includes(); return(_entityRepository.FilterBy(filter)); }