public async Task <IActionResult> OnPostDeletePlace() { HttpRequests req = new HttpRequests(); HttpStatusCode c = await req.DeletePlaceAsync(Convert.ToInt32(RouteData.Values["id"]), BaseController.GetToken()); return(RedirectToPage("/Overview", new { id = 1 })); }