package br.com.alura.agenda.tasks;

import android.os.AsyncTask;

import br.com.alura.agenda.converter.AlunoConverter;
import br.com.alura.agenda.modelo.Aluno;
import br.com.alura.agenda.web.WebClient;

public class InsereAlunoTask extends AsyncTask {
    private final Aluno aluno;

    public InsereAlunoTask(Aluno aluno) {
        this.aluno = aluno;
    }

    @Override
    protected Object doInBackground(Object[] objects) {
        new AlunoConverter().converteParaJSONCompleto(aluno);
        //new WebClient().insere(json);
        return null;
    }
}

@@ -431,16 +431,30 @@
 %0A       
+ String json =
  new Alu
@@ -512,10 +512,8 @@
     
-//
 new 

Add call to WebClient on insert student AsyncTask