public ActionResult Edit([Bind(Include = "MapperId,FileName,PdfName,XmlXpath")] Mapper mapper) { if (ModelState.IsValid) { db.Entry(mapper).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(mapper)); }
public ActionResult Edit([Bind(Include = "MapperId,FileName,PdfName,XmlXpath")] Mapper mapper) { if (ModelState.IsValid) { db.Entry(mapper).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(mapper)); }