public void VerifyWithdrawPIN(Guid accountId, string pin) { MerchantAccount account = new MerchantAccountDAC().GetById(accountId); SecurityVerify.Verify(new PinVerifier(), SystemPlatform.FiiiPOS, accountId.ToString(), account.PIN, pin); var model = new WithdrawVerify { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("MerchantWithdraw"), SystemPlatform.FiiiPOS, accountId.ToString(), model); }
public void VerifyWithdrawPIN(Guid accountId, string pin) { UserAccount user = new UserAccountDAC().GetById(accountId); SecurityVerify.Verify(new PinVerifier(), SystemPlatform.FiiiPay, accountId.ToString(), user.Pin, pin); var model = new WithdrawVerify { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("UserWithdraw"), SystemPlatform.FiiiPay, accountId.ToString(), model); }