private static void addCandy() { CandyControl candyControl = new CandyControl(); if (candyControl.editCandy()) { Console.Clear(); Console.WriteLine("GOLOSINA AGREGADA CON EXITO"); Console.ReadKey(); } }
private static void editCandy() { int index = showCandies("Seleccione la golosina a editar"); if (index < Program.cinema.candies.Count) { CandyControl candyControl = new CandyControl(index); if (candyControl.editCandy()) { Console.Clear(); Console.WriteLine("EDITADO CON EXITO"); Console.ReadKey(); } } }