private void RefreshExistingArticles() { _existingArticles.Clear(); try { var existing = _articlesRepository.GetEntities(string.Empty); foreach (var article in existing) { _existingArticles.Add(article.RelativeUrl); } } catch (Exception ex) { _logger.LogError("Exception, while fetching articles", ex); throw; } }