public ActionResult ManageTeacher() { //var TeacherList = db.Teacher.Where(x => x.ID > 0).OrderByDescending(y => y.CreatedDate).ToList(); //ViewBag.TeacherList = TeacherList; //var listScience = db.Science.Where(x => x.ID > 0).OrderByDescending(y => y.CreatedDate).ToList(); //ViewBag.listScience = listScience; //return View(); var teacherDao = new TeacherDao(); var listTeacher = teacherDao.ListAll(); ViewBag.listTeacher = listTeacher; return View(); }