private void ActionAdd() { ConsoleKey Key; User NewUser = new User(); string[] Answers; do { Answers = TextAdd(); try { NewUser = User.Parse(BLL.GetAll(), Answers); PrintUserData(NewUser); BLL.AddData(NewUser); Console.WriteLine("Succsessfully added"); } catch (ArgumentException e) { Console.WriteLine(e.Message); } finally { Console.WriteLine("Try again? (Press <<Y>>)"); Key = Console.ReadKey().Key; } } while (Key != ConsoleKey.Escape); }