Пример #1
0
        public async Task <IActionResult> GetAll()
        {
            var infos = await _summaryService.GetAllInformationAsync();

            return(Ok(new Response <IEnumerable <Info> >(infos)));
        }
Пример #2
0
 public async Task <IEnumerable <Info> > GetAllInformationAsync()
 {
     return(await _summaryService.GetAllInformationAsync());
 }