static void Main(string[] args) { bool continueApplication = true; string option; WriteDecorationConsole(); while (continueApplication) { option = ReadMenuConsole(); WriteDecorationConsole(); switch (option) { case "1": customerService.FindAllUsers(); break; case "2": customerService.FindUserById(); break; case "3": customerService.NewUser(); break; case "4": agendaService.FindAllAgenda(); break; case "5": agendaService.FindAgendaById(); break; case "6": agendaService.FindAgendaByDate(); break; case "7": agendaService.NewAgenda(customerService.VerifyIfExists()); break; default: Console.WriteLine("Opção inválida."); break; } WriteDecorationConsole(); continueApplication = ContinuesRunApplication(); WriteDecorationConsole(); } }