예제 #1
0
 public ActionResult EndreBok(int id, Boken endreBok)
 {
     if (ModelState.IsValid)
     {
         bool endringOK = _adminBLL.endreBok(id, endreBok);
         if (endringOK)
         {
             return(RedirectToAction("hentAlleBoker"));
         }
     }
     return(View());
 }