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