private Dossier InitialiseDossier() { Dossier unDossier = new Dossier("Robert", "Jean", new DateTime(1980, 12, 3)); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 10, 12, 0, 0), new Intervenant("Dupont", "Jean")); unDossier.AjoutePrestation("Libelle P1", new DateTime(2015, 9, 1, 12, 0, 0), new IntervenantExterne("Durand", "Annie", "Cardiologue", "Marseille", "0202020202")); unDossier.AjoutePrestation("Libelle P2", new DateTime(2015, 9, 8, 12, 0, 0), new IntervenantExterne("Sainz", "Olivier", "Radiologue", "Toulon", "0303030303")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 20, 12, 0, 0), new Intervenant("Maurin", "Joëlle")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 8, 9, 0, 0), new Intervenant("Blanchard", "Michel")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 10, 6, 0, 0), new Intervenant("Tournier", "Hélène")); return(unDossier); }
private Dossier InitialiseDossier() { Dossier unDossier = new Dossier("Robert", "Jean", new DateTime(1980, 12, 3)); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 10, 12, 0, 0), new Intervenant("Dupont", "Jean")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 1, 12, 0, 0), new IntervenantExterne("Dupont", "Jean", "Cardiologue", "Toulon", "0202020202020")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 13, 12, 0, 0), new IntervenantExterne("Dupont", "Jean", "Radiologue", "Toulon", "0202330202020")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 19, 12, 0, 0), new Intervenant("Dupont", "Jean")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 12, 12, 0, 0), new Intervenant("Dupont", "Jean")); unDossier.AjoutePrestation("Libelle P3", new DateTime(2015, 9, 10, 12, 0, 0), new Intervenant("Dupont", "Jean")); return(unDossier); }