public EditTeacherPresenter(IEditTeacherView view)
        {
            classScheduleHelper = new ClassScheduleHelper();

            editTeacherView = view;

            editTeacherModel = new TeacherModel();

            editTeacherView.UpdateTeacher += SystemUserView_UpdateTeacher;
        }
        public TeacherPresenter(ITeacherView view)
        {
            classScheduleHelper = new ClassScheduleHelper();

            teacherView = view;
            teacherModel = new TeacherModel();
            locationModel = new LocationModel();

            teacherView.AddTeacher += TeacherView_AddTeacher;
            teacherView.DeleteTeacher += TeacherView_DeleteTeacher;
            teacherView.ReloadDataGridView += TeacherView_ReloadDataGridView;
            teacherView.CreateEditTeacherView += TeacherView_CreateEditTeacherView;

            teacherView.LocationList = GetAllLocationList();
        }
        public TeacherTrainingSchedulePresenter(ITeacherTrainingScheduleView view)
        {
            classScheduleHelper = new ClassScheduleHelper();

            teacherTrainingScheduleView = view;

            teacherModel = new TeacherModel();
            locationModel = new LocationModel();
            teacherTrainingScheduleModel = new TeacherTrainingScheduleModel();

            teacherTrainingScheduleView.AddTeacherTrainingSchedule += TeacherTrainingScheduleView_AddTeacherTrainingSchedule;
            teacherTrainingScheduleView.DeleteTeacherTrainingSchedule += TeacherTrainingScheduleView_DeleteTeacherTrainingSchedule;
            teacherTrainingScheduleView.ReloadDataGridView += TeacherTrainingScheduleView_ReloadDataGridView;

            teacherTrainingScheduleView.Location = GetAllLocationList();
            teacherTrainingScheduleView.Teacher = GetAllTeacherList();
        }
 public void setup()
 {
     sut = new TeacherModel();
     mockDatabaseManager = new Mock<DatabaseManager>();
 }