Esempio n. 1
0
 public Like Get(int entityID)
 {
     return(_dal.Get(a => a.LikeID == entityID));
 }
Esempio n. 2
0
        public void DeleteById(int entityID)
        {
            Like lk = _likeDAL.Get(a => a.ID == entityID);

            _likeDAL.Delete(lk);
        }
Esempio n. 3
0
        public bool Delete(int entityID)
        {
            Like like = _likeDAL.Get(a => a.LikeID == entityID);

            return(_likeDAL.Delete(like) > 0);
        }