public ActionResult Edit([Bind(Include = "Id,Notes")] AmpSettings ampSettings) { if (ModelState.IsValid) { db.Entry(ampSettings).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(ampSettings)); }
public ActionResult Edit([Bind(Include = "Id,Notes")] AmpSettings ampSettings) { if (ModelState.IsValid) { db.Entry(ampSettings).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(ampSettings)); }