Exemplo n.º 1
0
        public TeacherFormView()
        {
            teacherPresenter           = new TeacherFormPresenter();
            teacherSelectedId          = -1;
            assignedSubjectsCollection = new ObservableCollection <Subject>();
            subjectsCollection         = new ObservableCollection <Subject>(teacherPresenter.GetAllSubjects());
            DataContext = this;

            InitializeComponent();
        }