public async Task <IActionResult> GetAllAsync() { var agendas = await agendaService.GetAllAsync(); return(Ok(mapper.Map <List <AgendaResponse> >(agendas))); }
public async Task <IEnumerable <AgendaResponseDto> > Get() { return(await svc.GetAllAsync()); }