コード例 #1
0
        public IProductType LoadType(long id)
        {
            ValidateHealthState();
            var type = ProductManager.LoadType(id);

            if (type == null)
            {
                throw new ProductNotFoundException(id);
            }
            return(type);
        }
コード例 #2
0
 public IProductType LoadType(ProductIdentity identity)
 {
     ValidateHealthState();
     return(ProductManager.LoadType(identity));
 }
コード例 #3
0
 public IProductType LoadType(long id)
 {
     ValidateHealthState();
     return(ProductManager.LoadType(id));
 }