Exemple #1
0
        // GET: Admin/NewAdmin
        public ActionResult Index(string search, int page = 1, int pageSize = 4)
        {
            var service = new NewService();
            var model   = service.DanhSachNPaging(search).ToPagedList(page, pageSize);

            ViewBag.Search = search;
            return(View(model));
        }