public ActionResult Edit(tblTWTTestResults tbltwttestresults)
 {
     if (ModelState.IsValid)
     {
         db.Entry(tbltwttestresults).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(tbltwttestresults));
 }
Beispiel #2
0
 public ActionResult Edit(tblSerialNumbers tblserialnumbers)
 {
     if (ModelState.IsValid)
     {
         db.Entry(tblserialnumbers).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(tblserialnumbers));
 }