Пример #1
0
    public void AddNewStudent()
    {
        int newStudentID = databaseManager.AddNewStudent(inputField.text, HeaderController.instance.classID);

        studentsManager.DisplayNewStudent(new Aluno
        {
            turmaId = HeaderController.instance.classID,
            id      = newStudentID,
            nome    = inputField.text
        });
        CloseModal();
    }