public ActionResult PrisEdit(Pris pris) { var dbt = new VyDbTilgang(); if (ModelState.IsValid) { dbt.SettPris(pris.prisPrKm); return(RedirectToAction("PriserOgPassasjerer", "Manage")); } else { return(View(pris)); } }