Beispiel #1
0
        public Student AddStudentToClassList(Student student, int teacherId)
        {
            Student createdStudent    = StudentsRepository.CreateNewStudent(student);
            Class   createdClassEntry = ClassRepository.AddStudentToTeachersClass(createdStudent.StudentId, teacherId);

            return(createdStudent);
        }