Пример #1
0
 public void Update(
     string id,
     UpdateInstructions <Snippet> updateInstructions)
 {
     this.snippetsCollection
     .UpdateOne(
         filter: ById(id: id),
         update: updateInstructions.ToMongoUpdate());
 }