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);
        }