//Caso 4 private static void InativarSerie() { int indiceSerie = RecebendoIdSerie(); Console.WriteLine(); Console.WriteLine("Série inativada, deseja Ativar?"); Console.WriteLine("S - Sim"); Console.WriteLine("N - Não"); string opcao = Console.ReadLine().ToUpper(); switch (opcao) { case "S": repositorio.Inativar(indiceSerie); break; case "N": break; default: throw new ArgumentOutOfRangeException(); } }