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