Exemplo n.º 1
0
        public List <StudentBDO> GetAllStudents()
        {
            List <StudentBDO> sBDO = new List <StudentBDO>();

            foreach (StudentBDO s in studentDAO.GetAllStudents())
            {
                s.Siblings = studentDAO.GetSiblings(s.StudentId);
                sBDO.Add(s);
            }
            return(sBDO);
        }
 public IEnumerable <StudentResponse> GetAll()
 {
     return(_studentDao.GetAllStudents());
 }