/// <summary>
        /// The build dto.
        /// </summary>
        /// <param name="entity">
        /// The entity.
        /// </param>
        /// <returns>
        /// The <see cref="ProductDto"/>.
        /// </returns>
        public ProductDto BuildDto(IProduct entity)
        {
            var dto = new ProductDto()
            {
                Key               = entity.Key,
                UpdateDate        = entity.UpdateDate,
                CreateDate        = entity.CreateDate,
                ProductVariantDto = _productVariantFactory.BuildDto(((Product)entity).MasterVariant)
            };

            return(dto);
        }