Exemplo n.º 1
0
        public async Task <IActionResult> GetAll()
        {
            var infos = await _summaryService.GetAllInformationAsync();

            return(Ok(new Response <IEnumerable <Info> >(infos)));
        }
Exemplo n.º 2
0
 public async Task <IEnumerable <Info> > GetAllInformationAsync()
 {
     return(await _summaryService.GetAllInformationAsync());
 }