public IActionResult Standings([FromQuery] string id) { dynamic model = new ExpandoObject(); model.Standings = betService.GetStandings(); if (id == "2312") { model.isAdmin = true; } else { model.isAdmin = false; } return(View("Standings", model)); }