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