Beispiel #1
0
 public BaseRepository(MongoDbContext mongoDbContext)
 {
     collection = mongoDbContext.GetCollection <T>($"{typeof(T).Name}s");
 }