public Response GetMarkets() { response.Result = new Market(); await ConnectionHandler.GetMethodAsync("/public/getmarkets"); return(response); }
private void Button_Click(object sender, RoutedEventArgs e) { var response = JsonHandler.Serialize(ConnectionHandler.GetMethodAsync("public/getmarkets").Result.ToString()); //TextBlock1.Text = response.Result.ToString(); }