Beispiel #1
0
 public void Delete(Product product)
 {
     _productDal.Delete(product);
 }
 public IResult Delete(Product product)
 {
     _productDal.Delete(product);
     return(new SuccessResult(Messages.ProductDeleted));
 }
 public void Delete(Product entity)
 {
     _productDal.Delete(entity);
 }
Beispiel #4
0
 public void Delete(int productId)
 {
     _productDal.Delete(new Product {
         ProductId = productId
     });
 }
Beispiel #5
0
 public IResult Delete(Product product)
 {
     _productDal.Delete(product);
     return(new SuccessResult("Ürün silindi"));
 }
 public void Delete(int productId)
 {
     _productDal.Delete(productId);
 }
 public void Delete(Product entity)
 {
     _productDal.Delete(entity); //kayıt siler
 }