/// <summary>
 /// Initializes a new instance of the MongoRepository class.
 /// </summary>
 // <param name="options">options.Value.Conectionstring to use for connection to MongoDB</param>
 /// <param name="collectionName">The name of the collection to use.</param>
 public MongoRepository(IMongoDbSettings options, string collectionName)
 {
     _collection = MongoDbUtil <TKey> .GetCollectionFromConnectionString <T>(options, collectionName);
 }