コード例 #1
0
 public async Task DeleteReviewAsync(ReviewModel reviewModel)
 {
     await _reviewsContainer.DeleteItemAsync <ReviewModel>(reviewModel.ReviewId, new PartitionKey(reviewModel.ReviewId));
 }
コード例 #2
0
 public async Task UpsertReviewAsync(ReviewModel reviewModel)
 {
     await _reviewsContainer.UpsertItemAsync(reviewModel, new PartitionKey(reviewModel.ReviewId));
 }