applied Repository Pattern through a nuget library MongoRepository