public User GetDataForNewUser(StringReader stringReader) { _read.ChangeConsoleInput(stringReader); _view.DisplayActionRequest("Please, provide data for new user"); string login = GetUniqueUserLogin("\nEnter user login"); string password = _read.GetUserAnswer("Enter user password"); string firstName = _read.GetUserAnswer("Enter user first name"); string lastName = _read.GetUserAnswer("Enter user last name"); DateTime birthDate = _read.GetDate("Enter user birthday"); return(new User(login, password, firstName, lastName, birthDate)); }