Esempio n. 1
0
        private static List <string> HandleFeedDeletes(string id, TableStorage ts, List <string> current_feed_urls, List <string> existing_feed_urls)
        {
            var deleted_feed_urls = existing_feed_urls.Except(current_feed_urls);

            foreach (string deleted_feed_url in deleted_feed_urls)
            {
                var rowkey = TableStorage.MakeSafeRowkeyFromUrl(deleted_feed_url);
                ts.DeleteEntity("metadata", id, rowkey);
            }

            GenUtils.LogMsg("status", "UpdateFeedsForId: find updated and update", null);
            return(deleted_feed_urls.ToList());
        }