Beispiel #1
0
        public ActionResult UserAccount(UserAccount account)
        {
            if (ModelState.IsValid)
            {
                _model.UpdateAccount(account);
                return(RedirectToAction("Index"));
            }

            return(View("UserAccount", account));
        }