Esempio n. 1
0
 public ActionResult Edit(Location location)
 {
     _db.Entry(location).State = EntityState.Modified;
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 2
0
 public ActionResult Edit(Profile profile)
 {
     _db.Entry(profile).State = EntityState.Modified;
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 3
0
 public ActionResult Edit(Host host)
 {
     _db.Entry(host).State = EntityState.Modified;
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }