Esempio n. 1
0
        private IProductState GetProductState(string productId)
        {
            var prdState = ProductApplicationService.Get(productId);

            if (prdState == null)
            {
                throw new ArgumentException(String.Format("Product NOT found. Product Id.: {0}", productId));
            }
            return(prdState);
        }