public void AddMainInfo(string Name, string Surname) { this.newPerson = new BankSystem.Person(Name, Surname); }
public BankSystem.Person ReturnPersonInfo() { BankSystem.Person ourPerson = this.newPerson; Reset(); return(ourPerson); }
public void Reset() { this.newPerson = new BankSystem.Person(); }