Beispiel #1
0
        // GET: Article
        public ActionResult Index()
        {
            SystemFail error = new SystemFail();

            if (TempData["StartUpScript"] != null)
            {
                ViewBag.StartupScript = TempData["StartUpScript"].ToString();
            }


            List <Article> articles = ArticleBLL.GetAllArticles(error);

            return(View(articles));
        }