Exemple #1
0
        public ActionResult Index()
        {
            ViewBag.Group = "AboutUs";
            var news = objNews.getNews();

            return(View(news));
        }
Exemple #2
0
        public ActionResult NewsAdminIndex(int?page)
        {
            var News = objNews.getNews();

            return(View(News.ToPagedList(page ?? 1, 3)));
        }
Exemple #3
0
        public ActionResult _AllNews(int?page)
        {
            var News = objNews.getNews();

            return(PartialView(News.ToPagedList(page ?? 1, 3)));
        }