コード例 #1
0
        public ActionResult ListTeacher(long idscience)
        {
            var teacherDao = new TeacherDao();
            var scienceDao = new ScienseDao();
            var science = scienceDao.GetScienceById(idscience);
            ViewBag.science = science;
            var listTeacher = teacherDao.GetListTeacherByScienceID(idscience);
            ViewBag.listTeacher = listTeacher;


            return View();
        }