public ProductOptionDisplay PostProductOption(ProductOptionDisplay option)
        {
            var productOption = option.ToProductOption(new ProductOption(option.Name));

            _productOptionService.Save(productOption);

            return(productOption.ToProductOptionDisplay(DetachedValuesConversionType.Editor));
        }
예제 #2
0
 public void CreateOption(Guid productId, ProductOption option)
 {
     _productOptionService.Save(productId, option);
 }