BaseRepository serarch using Objects rather than Strings