Example #1
0
        public bool UnlikePost(LIKE like)
        {
            bool returnValue = false;

            returnValue = likeRepo.Remove(lke => lke.POST_ID == like.POST_ID && lke.LIKE_BY == like.LIKE_BY);
            notifManager.RemoveLikeNotification(like.POST_ID, like.LIKE_BY);
            return(returnValue);
        }