Ejemplo n.º 1
0
        private void CréerDossier()
        {
            ConsoleHelper.AfficherEntete("Création D'un Dossier");

            Console.WriteLine("Reserver pour quelle voyage : ");
            int IdVoyage = Affichage.AfficherListeVoyages();

            Console.Clear();
            Console.WriteLine("Quel Clients : ");
            int IdCLient = Affichage.AfficherListeClients();

            int nombreVoyageurs;

            while ((nombreVoyageurs = OutilsConsole.PosezNombre("Nombre de Voyageurs : ")) > 9)
            {
                ;
            }
            List <Participant> participants;

            participants = Affichage.CreerParticpants(nombreVoyageurs);
            string CarteBancaire = OutilsConsole.PosezQuestionObligatoire("Numéro de Carte Bancaire : ");

            Services.CreerDossier(IdVoyage, IdCLient, nombreVoyageurs, participants, CarteBancaire);
        }