示例#1
0
 public Beer Update(Beer item)
 {
     //UpdateOne if need performance
     item.brewery = null;
     Beers.ReplaceOne(b => b.id == item.id, item);
     return(item);
 }