public Account VerifyPsw(Account account, string psw) { if (account.IsMatch(account.ID, psw)) { return(account); } throw new BankException("incorrect password"); }