// GET: Articles public ActionResult Index() { try { List <ArticleBLL> items = null; using (ContextBLL dtr = new ContextBLL()) { items = dtr.ArticlesGetAll(0, 100); } return(View(items)); } catch (Exception ex) { Logger.Log(ex); return(View("Error", ex)); } }