|
|
|
@ -106,6 +106,8 @@ namespace EPAServeur.Context |
|
|
|
|
|
|
|
|
|
DemandeEPI demandeEPI1, demandeEPI2, demandeEPI3; |
|
|
|
|
|
|
|
|
|
DemandeFormation demandeF1, demandeF2, demandeF3, demandeF4; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Ep en cours |
|
|
|
|
Ep epEnCours1, epEnCours2, epEnCours3, epEnCours4, epEnCours5, epEnCours6, epEnCours7, epEnCours8, epEnCours9; |
|
|
|
@ -253,8 +255,16 @@ namespace EPAServeur.Context |
|
|
|
|
epEnCours3.Objectifs = new List<Objectif>() { objectif1, objectif2, objectif3 }; |
|
|
|
|
epEnCours3.ObjectifsPrecedents = new List<ObjectifPrecedent>() { objectifPrecedent1, objectifPrecedent2, objectifPrecedent3 }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
demandeF1 = new DemandeFormation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = new DateTime(), |
|
|
|
|
Description = "Description", |
|
|
|
|
DemandeRH = false, |
|
|
|
|
Libelle = "Libellé", |
|
|
|
|
Etat = EtatDemande.EnAttente, |
|
|
|
|
Ep = epEnCours3, |
|
|
|
|
}; |
|
|
|
|
epEnCours3.DemandesFormation = new List<DemandeFormation>() { demandeF1 }; |
|
|
|
|
|
|
|
|
|
epContext.Ep.Add(epEnCours3); |
|
|
|
|
|
|
|
|
@ -568,6 +578,37 @@ namespace EPAServeur.Context |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
epSigne3.RdvEntretien = rdv3; |
|
|
|
|
|
|
|
|
|
demandeF2 = new DemandeFormation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = new DateTime(), |
|
|
|
|
Description = "Description 2", |
|
|
|
|
DemandeRH = false, |
|
|
|
|
Libelle = "Libellé 2", |
|
|
|
|
Etat = EtatDemande.EnAttente, |
|
|
|
|
Ep = epSigne3, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
demandeF3 = new DemandeFormation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = new DateTime(), |
|
|
|
|
Description = "Description 3", |
|
|
|
|
DemandeRH = false, |
|
|
|
|
Libelle = "Libellé 3", |
|
|
|
|
Etat = EtatDemande.EnAttente, |
|
|
|
|
Ep = epSigne3, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
demandeF4 = new DemandeFormation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = new DateTime(), |
|
|
|
|
Description = "Description 4", |
|
|
|
|
DemandeRH = true, |
|
|
|
|
Libelle = "Libellé 4", |
|
|
|
|
Etat = EtatDemande.EnAttente, |
|
|
|
|
Ep = epSigne3, |
|
|
|
|
}; |
|
|
|
|
epSigne3.DemandesFormation = new List<DemandeFormation>() { demandeF2, demandeF3, demandeF4 }; |
|
|
|
|
epContext.Ep.Add(epSigne3); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|