|
|
|
@ -87,6 +87,7 @@ namespace EPAServeur.Context |
|
|
|
|
Engagement eg1, eg2, eg3, eg4; |
|
|
|
|
ParticipationEP p1, p2, p3, p4, p5; |
|
|
|
|
CommentaireAssistant ca1, ca2, ca3; |
|
|
|
|
DemandeDelegation dm1, dm2, dm3; |
|
|
|
|
|
|
|
|
|
//Ep en cours |
|
|
|
|
Ep epEnCours1, epEnCours2, epEnCours3, epEnCours4, epEnCours5, epEnCours6, epEnCours7, epEnCours8, epEnCours9; |
|
|
|
@ -131,6 +132,15 @@ namespace EPAServeur.Context |
|
|
|
|
Ep = epEnCours2 |
|
|
|
|
}; |
|
|
|
|
epEnCours2.CommentairesAssistant = new List<CommentaireAssistant>(new[] { ca1, ca2 }); |
|
|
|
|
dm1 = new DemandeDelegation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = DateTime.Now, |
|
|
|
|
Ep = epEnCours1, |
|
|
|
|
IdReferent = new Guid("01ee85ff-d7f3-494b-b1de-26ced8fbfa0d"), |
|
|
|
|
EtatDemande = EtatDemande.EnAttente, |
|
|
|
|
RaisonDemande = "Raison quelconque 1" |
|
|
|
|
}; |
|
|
|
|
epEnCours2.DemandeDelegation = dm1; |
|
|
|
|
epContext.Ep.Add(epEnCours2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -175,6 +185,15 @@ namespace EPAServeur.Context |
|
|
|
|
IdCollaborateur = new Guid("a0f40e2a-cc03-4032-a627-5389e1281c64"), |
|
|
|
|
Obligatoire = false, |
|
|
|
|
}; |
|
|
|
|
dm2 = new DemandeDelegation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = DateTime.Now, |
|
|
|
|
Ep = epEnCours4, |
|
|
|
|
IdReferent = new Guid("d4fc247b-015a-44d6-8f3e-a52f0902d2bf"), |
|
|
|
|
EtatDemande = EtatDemande.EnAttente, |
|
|
|
|
RaisonDemande = "Raison quelconque 2" |
|
|
|
|
}; |
|
|
|
|
epEnCours4.DemandeDelegation = dm2; |
|
|
|
|
epContext.Ep.Add(epEnCours4); |
|
|
|
|
|
|
|
|
|
epEnCours5 = new Ep() |
|
|
|
@ -270,6 +289,15 @@ namespace EPAServeur.Context |
|
|
|
|
Obligatoire = true, |
|
|
|
|
}; |
|
|
|
|
epContext.Ep.Add(epEnCours8); |
|
|
|
|
dm3 = new DemandeDelegation() |
|
|
|
|
{ |
|
|
|
|
DateDemande = DateTime.Now, |
|
|
|
|
Ep = epEnCours8, |
|
|
|
|
IdReferent = new Guid("01ee85ff-d7f3-494b-b1de-26ced8fbfa0d"), |
|
|
|
|
EtatDemande = EtatDemande.EnAttente, |
|
|
|
|
RaisonDemande = "Raison quelconque 3" |
|
|
|
|
}; |
|
|
|
|
epEnCours8.DemandeDelegation = dm3; |
|
|
|
|
|
|
|
|
|
epEnCours9 = new Ep() |
|
|
|
|
{ |
|
|
|
|