Example #1
0
 public NotificationViewModel()
 {
     this.ListeSessionAValider     = DAOSession.ListerSessionFinisNonValider();
     this.ValiderSessionCommand    = new RelayCommand(ValiderSession);
     this.DetailSessionCommand     = new RelayCommand(DetailSession);
     this.ListeEmployeeNonConforme = DAOEmployeeFormation.ListerEmployeeFormationManquante();
     this.DetailEmployeeCommand    = new RelayCommand(DetailEmployee);
     this.CreerSessionCommand      = new RelayCommand(CreerSession);
 }
        private void AjouterEmployeeFormation()
        {
            EmployeeFormation ef = new EmployeeFormation
            {
                EmployeeConcerne  = EmployeeConcerne,
                FormationConcerne = AjouterFormationSelectionner
            };

            DAOEmployeeFormation.AjouterEmployeeFormation(ef);
            EmployeeConcerne = DAOEmploye.ConctructeurEmploye(EmployeeConcerne);
        }