public async Task DeleteReviewAsync(ReviewModel reviewModel) { await _reviewsContainer.DeleteItemAsync <ReviewModel>(reviewModel.ReviewId, new PartitionKey(reviewModel.ReviewId)); }
public async Task UpsertReviewAsync(ReviewModel reviewModel) { await _reviewsContainer.UpsertItemAsync(reviewModel, new PartitionKey(reviewModel.ReviewId)); }