public ActionResult NettCreate(Nett nett) { var dbt = new VyDbTilgang(); if (ModelState.IsValid) { var nettVw = konverter.nett(nett); dbt.leggTilNett(nettVw); return(RedirectToAction("NettListe", "Manage")); } else { return(View(nett)); } }