Beispiel #1
0
 public IActionResult Edit(Mazist customsAgent)
 {
     db.Entry(customsAgent).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
 public IActionResult Edit(Sort tog)
 {
     db.Entry(tog).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }