public ActionResult Popular() { List <tblArticles> articles = _articleManager.GetPopularToday(); string retView; if (articles.Count > 0) { ViewBag.Articles = articles; retView = "Popular"; } else { retView = "NoPopularArticles"; } return(View(retView)); }