Beispiel #1
0
 public ActionResult Edit(line l)
 {
     nv.Entry(l).State = System.Data.Entity.EntityState.Modified;
     nv.SaveChanges();
     return(RedirectToAction("Index", "provider"));
 }
 public ActionResult Edit(user u)
 {
     nv.Entry(u).State = System.Data.Entity.EntityState.Modified;
     nv.SaveChanges();
     return(RedirectToAction("Index", "Usermanagement"));
 }
Beispiel #3
0
 public ActionResult Edit(vehicule v)
 {
     nv.Entry(v).State = System.Data.Entity.EntityState.Modified;
     nv.SaveChanges();
     return(RedirectToAction("Index", "Vehicule"));
 }