示例#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);
        }