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

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