public async Task <ProductReviewResponse> GetReviewAsync(int userId, string productName) { if (productName == null) { throw new ArgumentNullException(nameof(productName)); } if (userId <= 0) { throw new ArgumentOutOfRangeException(nameof(userId)); } var result = await _productReviewRepository.GetReviewAsync(userId, productName); return(ToProductReviewResponse(result)); }