public void SetGradeViewBag(int?selectedID = null)
        {
            var _gradeDao = new GradeDAO();

            ViewBag.GradeID = new SelectList(_gradeDao.GetAll(), "Id", "GradeName", selectedID);
        }
Beispiel #2
0
 public IQueryable <tb_grade> GetAll()
 {
     return(_DAO.GetAll());
 }