public void Invoke(IGames ser) { Console.WriteLine("Change day of game"); int index = Menu.IndexGames(); Console.WriteLine("Add new time of game"); var data = Validator.validator_day(Console.ReadLine()); ser.ChangeTimeOfGame(Convert.ToInt32(data), index); }