public void AddStudentToClassroom()
        {
            string NameClassroom;

            Console.WriteLine("Ingrese El Nombre Del Salon De Clases");
            NameClassroom = Console.ReadLine();
            Console.WriteLine("Estudiantes: ");
            var classroom = FindClassroom(NameClassroom);

            if (classroom != null)
            {
                SchoolStudent schoolStudent = new SchoolStudent();
                schoolStudent.RegisterSchoolStudent();
                classroom.RegisterStudentToCourse(schoolStudent);
            }
            else
            {
                Console.WriteLine("¡El salon de clases ingresado no existe en la base de datos!");
            }
        }
Пример #2
0
 public virtual void RegisterStudentToCourse(SchoolStudent schoolStudent)
 {
 }