Ejemplo n.º 1
0
        public static int AfficherListeDestinations()
        {
            listeDestinations = ServiceDestination.GetDestinations();
            ConsoleHelper.AfficherListe(listeDestinations, strategieAffichageVoyages);
            int id;

            do
            {
                id = OutilsConsole.PosezNombre("Tapez l'ID");
            } while (!ServiceDestination.ChercherDestination(id));
            return(id);
        }
 private void AfficherDestinations()
 {
     liste = ServiceDestination.GetDestinations();
     ConsoleHelper.AfficherListe(this.liste, strategieAffichageClients);
 }