Ejemplo n.º 1
0
        public bool DeleteProduct(int id)
        {
            Product delCus = productDAL.GetProductById(id);

            if (null == delCus)
            {
                return(true);
            }
            return(productDAL.DeleteProduct(delCus));
        }
Ejemplo n.º 2
0
 public int Delete(int id)
 {
     return(ObjectProduct.DeleteProduct(id));
 }
 public void Delete(int id)
 {
     objprod.DeleteProduct(id);
 }
 public void DeleteProduct(int id)
 {
     _productDataAccessLayer.DeleteProduct(id);
 }
Ejemplo n.º 5
0
 public int Delete(int id)
 {
     return(obj.DeleteProduct(id));
 }