Exemple #1
0
        public void DeleteById(int entityID)
        {
            Urun urun = _urunDAL.Get(a => a.ID == entityID);

            _urunDAL.Remove(urun);
        }
Exemple #2
0
 public Urunler GetByUrunId(int urunId)
 {
     return(_urunDal.Get(u => u.Id == urunId));
 }
Exemple #3
0
        public bool Delete(int entityID)
        {
            Urun deleted = _urunDAL.Get(a => a.UrunId == entityID);

            return(_urunDAL.Delete(deleted) > 0);
        }
 public Urun GetById(int urunId)
 {
     return(_urunDAL.Get(p => p.Id == urunId, x => x.Kategori));
 }