/*****************************************DEBUT START******************************************/ /***************************************************************************************/ public void Start() { //Oeuvre oeuvre; //Adherent adherent; Console.WriteLine("Nom de la médiathèque : "); string n = Console.ReadLine(); mediatheque = new Mediatheque(n); int choix; do { Menu(); Int32.TryParse(Console.ReadLine(), out choix); switch (choix) { case 1: AddAdherent(); break; case 2: DeleteAdherent(); break; case 3: AddOeuvre(); break; case 4: DeleteOeuvre(); break; case 5: EmprunterOeuvre(); break; case 6: RendreOeuvre(); break; case 7: ListAdherent(); break; case 8: ListOeuvre(); break; case 9: GetOeuvreByStatut(); break; } } while (choix != 0); }