Beispiel #1
0
        public IActionResult Index(TeachersViewModel teachersView)
        {
            PageViewModel     pageViewModel = new PageViewModel(1, 1, 1);
            TeachersViewModel model         = new TeachersViewModel(
                teacherDAO.Search(teachersView.MinExp, teachersView.MaxExp, teachersView.SubjectTitle), pageViewModel);

            return(View(model));
        }