Beispiel #1
0
 public ActionResult Edit([Bind(Include = "ID,Year,Term")] Test test)
 {
     if (ModelState.IsValid)
     {
         testService.Attach(test);
         return(RedirectToAction("Index"));
     }
     return(View(test));
 }