예제 #1
0
        public bool Update(ProductType productType)
        {
            bool result = _productTypeDal.Update(productType);

            if (result)
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
        public void Save(ProductType productType)
        {
            if (productType.ShoudBeCreated)
            {
                _productTypeDal.Create(productType);
            }

            else
            {
                _productTypeDal.Update(productType);
            }
        }
예제 #3
0
 public void Update(ProductType productType)
 {
     _productTypeDal.Update(productType);
 }