public VerifyPlayerBankAccountResponse Verify(VerifyPlayerBankAccountRequest request)
        {
            VerifyPermission(Permissions.Verify, Modules.PlayerBankAccount);

            var playerBankAccount = _playerBankAccountQueries.GetPlayerBankAccounts().FirstOrDefault(x => x.Id == request.Id);

            CheckBrand(playerBankAccount.Bank.BrandId);

            _playerBankAccountCommands.Verify(request.Id, request.Remarks);
            return(new VerifyPlayerBankAccountResponse
            {
                Success = true
            });
        }
Exemplo n.º 2
0
 private void VerifyPlayerBankAccount(Guid bankAccountId)
 {
     _playerBankAccountCommands.Verify(bankAccountId, "remark");
 }