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

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