public ActionResult AddNewVendorBank(int?id)
        {
            if (Session["LOGGEDIN"] != null)
            {
                objVendorBanksProperty = new LP_VendorBanks_Property();

                Bank_BLL    objBanlBLL   = new Bank_BLL();
                Vendors_BLL objVendorBLL = new Vendors_BLL();
                objVendorBanksProperty.BankList   = Helper.ConvertDataTable <Bank_Property>(objBanlBLL.ViewAll());
                objVendorBanksProperty.VendorList = Helper.ConvertDataTable <Vendors_Property>(objVendorBLL.ViewAll());
                if (id > 0)
                {
                    objVendorBanksProperty.idx = Convert.ToInt32(id);
                    objVendorBanksBLL          = new LP_VendorBanks_BLL(objVendorBanksProperty);
                    DataTable dt = objVendorBanksBLL.SelectOne();
                    objVendorBanksProperty.bankIdx       = int.Parse(dt.Rows[0]["bankIdx"].ToString());
                    objVendorBanksProperty.vendorIdx     = int.Parse(dt.Rows[0]["vendorIdx"].ToString());
                    objVendorBanksProperty.accountTitle  = dt.Rows[0]["accountTitle"].ToString();
                    objVendorBanksProperty.accountNumber = dt.Rows[0]["accountNumber"].ToString();
                    objVendorBanksProperty.ibanNumber    = dt.Rows[0]["ibanNumber"].ToString();
                    return(PartialView("AddNewVendorBank", objVendorBanksProperty));
                }
                else
                {
                    return(PartialView("AddNewVendorBank", objVendorBanksProperty));
                }
            }
            else
            {
                return(RedirectToAction("Login", "Account"));
            }
        }