private void ValidateFeedsHaveLocationName(IEnumerable <BTBWeatherFeedInfo> feeds) { //if we find a feeds without a name, this could becuase we //have just converted to 1.1 of the app or have imported //existing weather content, therefore the feed hasnt be parsed //to generate the location name BTBWeatherFeedController controller = new BTBWeatherFeedController(); foreach (BTBWeatherFeedInfo feed in feeds) { if (feed.LocationName == Null.NullString) { controller.UpdateWeatherFeed(feed, PortalSettings, ModuleConfiguration); } } }