public async Task <IActionResult> GetAllAsync()
        {
            var agendas = await agendaService.GetAllAsync();

            return(Ok(mapper.Map <List <AgendaResponse> >(agendas)));
        }
예제 #2
0
 public async Task <IEnumerable <AgendaResponseDto> > Get()
 {
     return(await svc.GetAllAsync());
 }