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

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

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