public async Task AddProductReviewTokens(LiquidObject liquidObject, Product product, ProductReview productReview)
        {
            var liquidProductReview = new LiquidProductReview(product, productReview);

            liquidObject.ProductReview = liquidProductReview;
            await _mediator.EntityTokensAdded(productReview, liquidProductReview, liquidObject);
        }
Ejemplo n.º 2
0
        public void AddProductReviewTokens(LiquidObject liquidObject, ProductReview productReview)
        {
            var liquidProductReview = new LiquidProductReview(productReview);

            liquidObject.ProductReview = liquidProductReview;

            _eventPublisher.EntityTokensAdded(productReview, liquidProductReview, liquidObject);
        }