public ActionResult endreBestilling(int id, Bestilling endreBestilling) { if(ModelState.IsValid) { var bestilling = new BestillingBLL(); bool endringOk = bestilling.endreBestilling(id, endreBestilling); if(endringOk) { return RedirectToAction("BestillingListe"); } } return View(); }