public async Task <IActionResult> OnPostDel() { HttpRequests req = new HttpRequests(); await req.DeleteUserAsync(BaseController.GetToken()); BaseController.SetUserAndToken(new User() { Role = "nothing", Id = 0 }, ""); return(RedirectToPage("/Index")); }