Esempio n. 1
0
        public ActionResult DeleteUser(string submitButton, AppUser data)
        {
            if (submitButton == "Delete")
            {
                _repo.AdminDeleteUser(data.Id);
            }

            return(RedirectToAction("Users"));
        }