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