コード例 #1
0
        public ActionResult Exception(int?page)
        {
            const int pageSize   = 10;
            int       pageNumber = (page ?? 1);
            //ExceptionViewModel model = new ExceptionViewModel();
            List <M_CustomException> model = new List <M_CustomException>();

            model = M_CustomException.GetExceptionData();
            return(PartialView(model.ToPagedList(pageNumber, pageSize)));
        }