Esempio n. 1
0
 public void Update(string id, sellerLocation locationIn) =>
 _location.ReplaceOne(location => location.Id == id, locationIn);
Esempio n. 2
0
 public void Remove(sellerLocation locationIn) =>
 _location.DeleteOne(location => location.Id == locationIn.Id);
Esempio n. 3
0
 public sellerLocation Create(sellerLocation location)
 {
     _location.InsertOne(location);
     return(location);
 }