public ActionResult UserAccount(UserAccount account) { if (ModelState.IsValid) { _model.UpdateAccount(account); return(RedirectToAction("Index")); } return(View("UserAccount", account)); }