Exemplo n.º 1
0
        public IActionResult SurveyArchive(int page = 1, int pageSize = 5)
        {
            MyPagedList <TblSurvey> list = _survey.GetArchiveSurvey(page, pageSize);

            ViewBag.list      = list;
            ViewBag.pageIndex = page;
            ViewBag.pageSize  = pageSize;
            return(View(list.model));
        }