public async Task <IActionResult> Create([Bind("Legacy,Bsp1,Tekst,Liter,Mg1,IkkeTillatt,Brus,Øl,UpsizeTs")] TblMaterialMaster tblMaterialMaster) { if (ModelState.IsValid) { _context.Add(tblMaterialMaster); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(tblMaterialMaster)); }
public async Task <IActionResult> Create([Bind("Kvote,Øl,Brus,Gratis,UpsizeTs")] TblKvotedefinisjoner tblKvotedefinisjoner) { if (ModelState.IsValid) { _context.Add(tblKvotedefinisjoner); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(tblKvotedefinisjoner)); }
public async Task <IActionResult> Create([Bind("Id,Ansattnummer,Status,Fornavn,Etternavn,Ansettelsesdato,Kvotekode,StillingStatus,Stilling,OppdatertDato,Materialnummer,Antall,SalgsDato,Øl,Brus,Gratis,GratisBrus,UpsizeTs")] TblKvotefilerFraZalaris tblKvotefilerFraZalaris) { if (ModelState.IsValid) { _context.Add(tblKvotefilerFraZalaris); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(tblKvotefilerFraZalaris)); }
public async Task <IActionResult> Create([Bind("C47Nummer,C47Navn,Ansattnr,T0e,T0eNavn,Fornavn,Etternavn")] TblKundelisteMedForskjelligeNummer tblKundelisteMedForskjelligeNummer) { if (ModelState.IsValid) { _context.Add(tblKundelisteMedForskjelligeNummer); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(tblKundelisteMedForskjelligeNummer)); }