예제 #1
0
 public void Delete(int urunId)
 {
     _urunDal.Delete(new Urunler {
         Id = urunId
     });
 }
예제 #2
0
        public bool Delete(int entityID)
        {
            Urun deleted = _urunDAL.Get(a => a.UrunId == entityID);

            return(_urunDAL.Delete(deleted) > 0);
        }
 public void Delete(Urun urun)
 {
     _urunDAL.Delete(urun);
 }