Ejemplo n.º 1
0
    public Result SaveBankBranchDetails(BankBranch branch, string BankCode, string Password)
    {
        Result result = new Result();

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