public string AddLiker(string id) { if (!IsLiker(id)) { LikerIdList.Add(id); return(null); } return("Not a new liker."); }
public string RemoveLiker(string id) { if (IsLiker(id)) { LikerIdList.Remove(id); return(null); } return("Not a liker."); }
public bool IsLiker(string id) { return(LikerIdList.Any(likerId => likerId == id)); }