Esempio n. 1
0
 public async Task ReplaceOneAsync_With_Predicate()
 {
     await _collection.ReplaceOneAsync(e => e.Id == 1, new User { Id = 1, Name = "Teddy" });
 }