Exemple #1
0
        private async void musicList_Load(object sender, EventArgs e)
        {
            var reponse = await APICall.GetALL();

            textBox1.Text = APICall.formatJson(reponse);
        }
Exemple #2
0
        private async void create_Click(object sender, EventArgs e)
        {
            var reponse = await APICall.Post(tbTitle.Text, tbArtist.Text);

            //ou je l'envoie ? envoie = APICall.formatJSON(reponse);
        }