예제 #1
0
        public ActionResult Index(int page = 1, int maxByPage = MyConstants.MAX_BY_PAGE, string SearchField = "")
        {
            List <Skill> lstSkills = _skillService.FindAllIncludes(page, maxByPage, SearchField);

            ViewBag.NextExist   = _skillService.NextExist(page, maxByPage, SearchField);
            ViewBag.Page        = page;
            ViewBag.MaxByPage   = maxByPage;
            ViewBag.SearchField = SearchField;
            return(View("Index", lstSkills));
        }