// GET: News public ActionResult Index(int page = 1) { ViewBag.Title = "News Page"; var articles = _newsHelper.GetNewsByPageView(page); return(View(articles)); }
// GET: News public ActionResult Index(int page = 1) { ViewBag.Title = "News Page"; var articles = _newsHelper.GetNewsByPageView(page); return(View(articles)); }