Esempio n. 1
0
        public async Task <ActionResult> OnGetAsync()
        {
            var user = await _identityService.GetEntityByIdAsync <User>(Id);

            await _identityService.DeleteAsync(user);

            return(Redirect("/"));
        }