Exemplo n.º 1
0
 public BaseDEController()
 {
     ownerSesssionRepository = new OwnerSesssionRepository();
     processorSessionRepository = new ProcessorSessionRepository();
     traderSessionRepository = new TradeReferenceSessionRepository();
     bankStatementRepository = new BankStatementSessionRepository();
 }
 public VerificationTaskController()
 {
     contractApi = new ContractApi();
     _OwnerCorpSessionRepository = new OwnerSesssionRepository();
 }
        public ActionResult CorpDocVer(CorporateDocVerificationModel model)
        {
            List<OwnerModel> ownerList = new List<OwnerModel>();
            ownerList = new OwnerSesssionRepository().GetAll();
            new ContractApi().UpdateCommercialOwnerDetails(CurrentMerchantID, ContractID, ownerList);

            base.SetSuccessMessage("Updated");
            return RedirectToAction("CorpDocVer");
        }