Beispiel #1
0
        public async Task <IActionResult> DeleteUserConfirmed(string id)
        {
            ApplicationUser au = _pollRepo.GetUser(id);

            _pollRepo.DeletePolls(id);
            await _pollRepo.DeleteUser(id);

            return(RedirectToAction("Index"));
        }