Ejemplo n.º 1
0
 public ActionResult Edit(ImpExpAssociated impexpassociated)
 {
     if (ModelState.IsValid)
     {
         db.Entry(impexpassociated).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index", new { id = impexpassociated.PmsId }));
     }
     return(View(impexpassociated));
 }
Ejemplo n.º 2
0
 public ActionResult Edit(Pms pms)
 {
     if (ModelState.IsValid)
     {
         db.Entry(pms).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(pms));
 }