public IActionResult OnPostDeleteUser() { IUser user = UserCatalogue.CurrentUser; user.Delete(); UserCatalogue.Logout(); return(Redirect("~/")); }
public IActionResult OnGet() { UserCatalogue.Logout(); return(RedirectToPage("/Index")); }