Пример #1
0
        // GET: Admin/Silde
        public ActionResult Index(string searchString, int page = 1, int pageSize = 10)
        {
            //SetViewBag();
            var dao   = new SlideDAO();
            var model = dao.ListAllPagingSlide(searchString, page, pageSize);

            ViewBag.searchString = searchString;
            return(View(model));
        }