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