예제 #1
0
        public void updateProduct(int id, ProductType productType)
        {
            if (getProductTypes(id) == null)
            {
                return;
            }

            typeFactory.updateProductType(getProductTypes(id), productType);
            db.SaveChanges();
        }