public async System.Threading.Tasks.Task <List <Resposta> > lista_respostaAsync() { List <Resposta> respostas = new List <Resposta>(); respostas = await RespostaDAO.Busca_Respostas(); return(respostas); }
public async System.Threading.Tasks.Task <ActionResult> Listar_Async() { List <Resposta> respostas = await RespostaDAO.Busca_Respostas(); return(View(respostas)); }