public ActionResult Create(User user) { try { // TODO: Add insert logic here var ep = new UserProcess(); var newUser = ep.Add(user); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Create(User user) { try { // TODO: Add insert logic here var ep = new UserProcess(); var newUser = ep.Add(user); return(RedirectToAction("Index")); } catch { return(View()); } }