public ActionResult BankInformation(BankInfoVerificationModel model, string button)
        {
            if (ModelState.IsValid)
            {
                model.merchantId = CurrentMerchantID;
                model.contractId = ContractID;

                var apiMethod = string.Format("contracts/UpdateBankDetails?isCompleted={0}", 0);
                BaseApiData.PutAPIData(apiMethod, model);
                base.SetSuccessMessage("Information Updated");
                if (Request.IsAjaxRequest())
                {
                    return new JsonResult { Data = "OK" };

                }
                if (button == "Complete")
                {
                    return CompleteVeriTask();
                }
                return RedirectToAction("BankInformation");
            }
            if (Request.IsAjaxRequest())
            {
                return new JsonResult { Data = "Err" };
            }
            return View();
        }
 // GET: /VerificationTask/
 public ActionResult BankInformation()
 {
     var model = new BankInfoVerificationModel();
     model = contractApi.GetBankDetails(0, ContractID, CurrentMerchantID);
     model.DocTypeId = (long)Pecuniaus.Contract.DocumentTypes.BankStatements;
     model.merchantId = CurrentMerchantID;
     model.contractId = ContractID;
     model.Banks = GetBanks();
     return View(model);
 }
        public ActionResult BankInfoVer(BankInfoVerificationModel model)
        {
            if (ModelState.IsValid)
            {
                model.merchantId = CurrentMerchantID;
                model.contractId = ContractID;

                var apiMethod = string.Format("contracts/UpdateBankDetails?isCompleted={0}", 0);
                BaseApiData.PutAPIData(apiMethod, model);
                base.SetSuccessMessage("Information Updated");
                return RedirectToAction("BankInfoVer");
            }
            model.DocTypeId = (long)Pecuniaus.Contract.DocumentTypes.BankStatements;
            model.Banks = GetBanks();
            return PartialView("_BankInfo", model);
        }