public void SyncNewFeeds() { var feedReader = XmlReader.Create("http://lifehacker.com/rss"); var channel = SyndicationFeed.Load(feedReader); if (channel == null) { throw new ArgumentException("Can't sync feeds from url"); } foreach (var feed in channel.Items) { _repository.InsertFeed(feed.ToFeedEntity()); } }