public ActionResult Edit(Mission mission) { _db.Entry(mission).State = EntityState.Modified; _db.SaveChanges(); return(RedirectToAction("Details", new { id = mission.MissionId })); }
public ActionResult Edit(Manifest manifest) { _db.Entry(manifest).State = EntityState.Modified; _db.SaveChanges(); return(RedirectToAction("Details", new { id = manifest.ManifestId })); }
public ActionResult Edit(Ship ship) { _db.Entry(ship).State = EntityState.Modified; _db.SaveChanges(); return(RedirectToAction("Details", new { id = ship.ShipId })); }