public void Add() { while (true) { switch (menu.MenuInsert()) { case "1": InsertIntoCoutries(); break; case "2": InsertIntoTowns(); break; case "3": InsertIntoRooms(); break; case "4": InsertIntoClients(); break; case "5": InsertIntoReservation(); break; default: return; // break; } } }
public void Start() { while (true) { switch (menu.MenuInsert()) { case "1": InsertIntoCoutries(); break; case "2": InsertIntoTowns(); break; default: return; // break; } } }