public bool logInTopic(ReadyTopic topic) { if (!topicList.Exists(x => x.Topic.ToLower().Trim() == topic.Topic.ToLower().Trim() && x.Type == topic.Type)) { topicList.Add(topic); return(true); } else { return(false); } }
public void logOutTopic(ReadyTopic topic) { topicList.Remove(topic); }