BaseRepository implementation