public async Task <IActionResult> GetAll() { var infos = await _summaryService.GetAllInformationAsync(); return(Ok(new Response <IEnumerable <Info> >(infos))); }
public async Task <IEnumerable <Info> > GetAllInformationAsync() { return(await _summaryService.GetAllInformationAsync()); }