public void Registration(Account account) { Console.WriteLine("Введите логин"); account.Login = Console.ReadLine(); Console.WriteLine("Введите пароль"); account.Password = Console.ReadLine(); Repository.Accounts.Add(account); Repository.Dispose(); }