Esempio n. 1
0
        public ProductOption GetOption(Guid productId, Guid id)
        {
            ValidateProductExists(productId);

            var productOption = _productOptionService.GetProductOption(id);

            if (productOption == null)
            {
                throw new HttpResponseException(HttpStatusCode.NotFound);
            }

            return(productOption);
        }