public Like Get(int entityID) { return(_dal.Get(a => a.LikeID == entityID)); }
public void DeleteById(int entityID) { Like lk = _likeDAL.Get(a => a.ID == entityID); _likeDAL.Delete(lk); }
public bool Delete(int entityID) { Like like = _likeDAL.Get(a => a.LikeID == entityID); return(_likeDAL.Delete(like) > 0); }