예제 #1
0
 public async Task AddVendor(VendorDto vendor)
 {
     await _vendorCollection.InsertOneAsync(vendor.ToBsonDocument());
 }