Beispiel #1
0
        private Class PopulateClass(Class clas)
        {
            int            id       = clas.Id;
            List <Student> tempList = dbCtrl.GetStudentsFromClassId(id);

            foreach (Student student in tempList)
            {
                AddStudentToClass(student, clas);
            }

            return(clas);
        }