public ActionResult Edit(int id, User user) { try { // TODO: Add update logic here var ep = new UserProcess(); ep.Edit(user); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Edit(int id, User user) { try { // TODO: Add update logic here var ep = new UserProcess(); ep.Edit(user); return(RedirectToAction("Index")); } catch { return(View()); } }