コード例 #1
0
    public Result SaveBankAccountDetails(BankAccount account, string BankCode, string Password)
    {
        Result result = new Result();

        try
        {
            if (account.IsValidSaveCustomerAccountRequest(BankCode, Password))
            {
                result = bll.SaveAccountDetails(account, BankCode);
            }
            else
            {
                result.StatusCode = account.StatusCode;
                result.StatusDesc = account.StatusDesc;
            }
        }
        catch (Exception ex)
        {
            result.StatusCode = "100";
            result.StatusDesc = "FAILED: " + ex.Message;
        }
        return(result);
    }