public Response GetMarkets()
        {
            response.Result = new Market();
            await ConnectionHandler.GetMethodAsync("/public/getmarkets");

            return(response);
        }
示例#2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     var response = JsonHandler.Serialize(ConnectionHandler.GetMethodAsync("public/getmarkets").Result.ToString());
     //TextBlock1.Text = response.Result.ToString();
 }