public PartialViewResult Course(int?page) { int pageSize = 6; int pageNumber = (page ?? 1); var model = new KhoaHocD().ListAll(); return(PartialView(model.ToPagedList(pageNumber, pageSize))); }