示例#1
0
        public async Task <IActionResult> Create([Bind("ID,OKUPASI,KODEPERTANGGUNGAN,DESKRIPSI,RATEPERTANGGUNGAN,RESIKO,UPDATEDBY,UPLOADDATE")] MPERLUASAN mPERLUASAN)
        {
            if (ModelState.IsValid)
            {
                _context.Add(mPERLUASAN);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(mPERLUASAN));
        }
        public async Task <IActionResult> Create([Bind("ID,KODEPERUSAHAAN,NAMAPERUSAHAAN,ALAMAT,NOTLP,NOFAX,CONTACTPERSON,EMAIL")] PerusahaanAsuransi perusahaanAsuransi)
        {
            if (ModelState.IsValid)
            {
                _context.Add(perusahaanAsuransi);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(perusahaanAsuransi));
        }
示例#3
0
        public async Task <IActionResult> Create([Bind("ID,PARAMCODE,PARAMNAME,PARAMVALUE,PARAMDESC,ISMASKED,PARAMGROUP,ORDERNO,UPDATEDBY,UPDATEDATE")] Msysparam msysparam)
        {
            if (ModelState.IsValid)
            {
                _context.Add(msysparam);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(msysparam));
        }
        public async Task <IActionResult> Create([Bind("ID,KODEBROKER,NAMABROKER,ALAMAT,NOTLP,NOFAX,CONTACTPERSON,EMAIL,UPDATEDBY,UPDATEDATE")] Mbroker mbroker)
        {
            if (ModelState.IsValid)
            {
                _context.Add(mbroker);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(mbroker));
        }
        public async Task <IActionResult> Create([Bind("ID,KODEJENISASURANSI,JENISASURANSI,UPDATEDBY,UPDATEDDATE")] MJENISASURANSI mJENISASURANSI)
        {
            if (ModelState.IsValid)
            {
                _context.Add(mJENISASURANSI);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(mJENISASURANSI));
        }