Beispiel #1
0
        // GET: Teachers
        public IActionResult Index(int page = 1)
        {
            PageViewModel     pageViewModel = new PageViewModel(teacherDAO.Count(), page, 10);
            TeachersViewModel model         = new TeachersViewModel(teacherDAO.GetList(page), pageViewModel);

            return(View(model));
        }