コード例 #1
0
        // GET: DocumentUpload
        public ActionResult DocumentUpload()
        {
            ButtonVisiblity("Index");
            Session["documentupload"] = null;
            var model = _documentUploadService.GetAllDocumentUpload();

            ViewBag.DocumentTypeList = new SelectList(_documentUploadService.GetDocumentTypeList(), "Id", "Name");
            ViewBag.DocumentList     = new SelectList(_documentUploadService.GetDocumentMasterList(), "DocumentID", "DocumentName");
            return(View(model));
        }
コード例 #2
0
        public ActionResult Index()
        {
            ButtonVisiblity("Index");
            ViewBag.SourceList = new SelectList(_kycService.GetSourceOfApplicationList(), "Soa_Id", "Soa_Name");
            var pincodelist = _kycService.GetPincodeWithArea();

            ViewBag.PinCodeList      = new SelectList(pincodelist, "PcId", "PincodeWithArea");
            ViewBag.DocumentTypeList = new SelectList(_documentUploadService.GetDocumentTypeList(), "Id", "Name");
            ViewBag.DocumentList     = new SelectList(_documentUploadService.GetDocumentMasterList(), "DocumentID", "DocumentName");
            KYCBasicDetailsVM kycVM     = new KYCBasicDetailsVM();
            KYCAddressesVM    addressvm = new KYCAddressesVM();

            kycVM.Trans_KYCAddresses.Add(addressvm);
            kycVM.ApplicationNo = _kycService.GenerateApplicationNo();
            int    appno = Convert.ToInt32(kycVM.ApplicationNo);
            Random rand  = new Random(100);
            int    cid   = rand.Next(000000000, 999999999) + appno;

            kycVM.CustomerID                     = "C" + cid.ToString();
            kycVM.AppliedDate                    = DateTime.Now;
            Session["docsub"]                    = null;
            Session["ApplicantImage"]            = null;
            Session["ApplicantImageName"]        = null;
            Session["ApplicantImageContentType"] = null;
            return(View(kycVM));
        }
コード例 #3
0
        // GET: ResidenceVerification
        public ActionResult Index()
        {
            ButtonVisiblity("Index");
            var model = new ResidenceVerificationVM();

            ViewBag.RMList      = new SelectList(_residenceVerificationService.GetAllRMByBranch(), "UserName", "UserName");
            ViewBag.PinCodeList = new SelectList(_kycService.GetAllPincodes(), "Pc_Id", "Pc_Desc");
            int    id   = _residenceVerificationService.GenerateApplicationNo();
            Random rand = new Random(100);
            int    cid  = rand.Next(000000000, 999999999) + id;

            model.TransactionId      = "RV" + cid.ToString();
            model.AppliedDate        = DateTime.Now.ToShortDateString();
            model.DateofVisit        = DateTime.Now.ToShortDateString();
            ViewBag.DocumentTypeList = new SelectList(_documentUploadService.GetDocumentTypeList(), "Id", "Name");
            ViewBag.DocumentList     = new SelectList(_documentUploadService.GetDocumentMasterList(), "DocumentID", "DocumentName");
            Session["resdocupload"]  = null;
            return(View(model));
        }
コード例 #4
0
 // GET: GLReceipt
 public ActionResult Index()
 {
     ViewBag.narration = new SelectList(_documentUploadService.GetDocumentTypeList(), "Id", "Name");
     return(View());
 }
コード例 #5
0
 public void BindList()
 {
     ViewBag.DocumentTypeList = new SelectList(_documentUploadService.GetDocumentTypeList(), "Id", "Name");
     ViewBag.DocumentList     = new SelectList(_documentUploadService.GetDocumentMasterList(), "DocumentID", "DocumentName");
     ViewBag.PinCodeList      = new SelectList(_requestFormService.GetAllPincodes(), "Pc_Id", "Pc_Desc");
 }