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

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

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