Example #1
0
        public ActionResult PrisEdit(Pris pris)
        {
            var dbt = new VyDbTilgang();

            if (ModelState.IsValid)
            {
                dbt.SettPris(pris.prisPrKm);
                return(RedirectToAction("PriserOgPassasjerer", "Manage"));
            }
            else
            {
                return(View(pris));
            }
        }