public void Delete(Product product)
 {
     try
     {
         _productDal.DeleteProduct(product);
     }
     catch (Exception)
     {
         throw new Exception("Silme gerçekleşemedi");
     }
 }
示例#2
0
 public Guid DeleteProduct(Guid id)
 {
     return(_dal.DeleteProduct(id));
 }
 public void DeleteProduct(int id)
 {
     _productDal.DeleteProduct(id);
 }