Beispiel #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));
 }
Beispiel #2
0
 public ActionResult Edit(Pms pms)
 {
     if (ModelState.IsValid)
     {
         db.Entry(pms).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(pms));
 }