public async Task UpdateAsync(string id, User user)
 {
     await DbContainer.UpsertItemAsync <User>(user, new PartitionKey(id));
 }
Example #2
0
 public async Task UpdateAsync(string id, Contact Contact)
 {
     await DbContainer.UpsertItemAsync <Contact>(Contact, new PartitionKey(id));
 }