public async Task AddAsync(User user) { await DbContainer.CreateItemAsync <User>(user, new PartitionKey(user.Id.ToString())); }
public async Task AddAsync(Contact Contact) { await DbContainer.CreateItemAsync <Contact>(Contact, new PartitionKey(Contact.Id.ToString())); }