Example #1
0
File: Bank.cs Project: q2git/VS
        public Account VerifyPsw(Account account, string psw)
        {
            if (account.IsMatch(account.ID, psw))
            {
                return(account);
            }

            throw new BankException("incorrect password");
        }