Example #1
0
        public void ShowTrainingPeriods()
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            IViewTrainingPeriodsForm form = formFactory.CreateViewTrainingPeriodsForm();

            trainingPeriodController.ShowTrainingPeriods(form, trainingPeriodRepository, this);
        }
Example #2
0
        public void RemoveTrainingPeriodWithId(int periodId)
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            trainingPeriodController.RemoveTrainingPeriodWithId(periodId, trainingPeriodRepository, trainingGroupRepository);
        }
Example #3
0
        public void EditTrainingPeriodWithId(int periodId, TrainingPeriod trainingPeriod)
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            trainingPeriodController.EditTrainingPeriodWithId(periodId, trainingPeriod, trainingPeriodRepository);
        }
Example #4
0
        public void AddTrainingPeriod(TrainingPeriod trainingPeriod)
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            trainingPeriodController.AddTrainingPeriod(trainingPeriod, trainingPeriodRepository);
        }
Example #5
0
        public void ShowEditTrainingPeriod(int periodId)
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            trainingPeriodController.ShowEditTrainingPeriod(formFactory, trainingPeriodRepository, periodId, this);
        }
Example #6
0
        public void ShowAddTrainingPeriod()
        {
            TrainingPeriodController trainingPeriodController = new TrainingPeriodController();

            trainingPeriodController.ShowAddTrainingPeriod(formFactory, this);
        }