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