Ejemplo n.º 1
0
        public ActionResult Edit(AppUser userAccount)
        {
            AppUserRepo repo = new AppUserRepo();

            if (ModelState.IsValid)
            {
                repo.UpdateAccount(userAccount.userID, userAccount);
                return(RedirectToAction("Details", new { userID = userAccount.userID }));
            }
            return(View());
        }