Пример #1
0
        public ProductOption GetOption(Guid productId, Guid id)
        {
            var option = _productOptionService.Get(id);

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

            return(option);
        }