private static string SetEmailAlertsUrlWithTopicId(Newsroom newsroom, string url)
 {
     return(!string.IsNullOrEmpty(newsroom.EmailAlertsTopicId) ? string.Concat(url, "?topic_id=", newsroom.EmailAlertsTopicId) : url);
 }
 internal void AddNews(Newsroom newsRoom)
 {
     Newsroom = newsRoom;
 }
 public NewsroomViewModel(Newsroom newsroom, string emailAlertsUrl)
 {
     Newsroom       = newsroom;
     EmailAlertsUrl = SetEmailAlertsUrlWithTopicId(newsroom, emailAlertsUrl);
 }