Exemple #1
0
 public ActionResult Edit(User userEdit)
 {
     if (ModelState.IsValid)
     {
         dbc.Update(userEdit);
         return(RedirectToAction("Index"));
     }
     return(View(userEdit));
 }