public async Task <IEnumerable <TarefaViewModel> > BuscarTodos() { var tarefas = new List <TarefaViewModel>(); try { tarefas = _mapper.Map <List <TarefaViewModel> >(await _tarefaService.BuscarTodos()); } catch (Exception ex) { //TODO: Log } return(tarefas); }