public async void timerMinAsync(object sender, EventArgs e) { int time = 60000; List <Podcast> podList = Podcast.PodList .Where(items => items.UpdateInterval.Equals(time)) .ToList(); if (podList != null) { foreach (Podcast podcast in podList) { string url = podcast.URL; var newEpisodeList = await RSSReader.getFeed(url); podcast.Episodes = newEpisodeList; MessageBox.Show("Podcasten är uppdaterad"); } } }