常用方法
常用方法
常用方法
常用方法
public IActionResult DeleteAccount() { HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme); _siteservice.DeleteUserAccount(HttpContext.User.Identity.Name); return(RedirectToAction("Login", "Welcome")); }