/// <inheritdoc />
        public async Task <Result <ListResult <ProductOption> > > GetByProductAsync(Guid productId)
        {
            _logger.Debug("Getting product options by product. ProductId: {productId}", productId);

            var productResult = await _productService.GetByIdAsync(productId);

            if (!productResult.IsSuccess())
            {
                return(Result <ListResult <ProductOption> > .Failed(productResult.Error));
            }

            var productOptions = await _productOptionRepository.GetByProductAsync(productId);

            return(Result <ListResult <ProductOption> > .Success(new ListResult <ProductOption>
            {
                Items = productOptions
            }));
        }