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