public IActionResult ArticleContent(string id) { Article article = ArticleService.Article(id); if (article != null) { ViewData["Title"] = article.Title; ViewData["Description"] = article.Description; ViewData["Content"] = ArticleService.GetArticleContent(article); } else { ViewData["Content"] = "No article found"; } return(View()); }