Beispiel #1
0
        public async Task <ActionResult <Page <String> > > GetTitles([FromQuery] GetSourcesRequest request)
        {
            var sourcesPage = await _sourceManager.GetAggregationTitlesAsync(request.ToDomain(), Cancel);

            SetTotalCountHeader(sourcesPage.TotalCount);
            return(Ok(sourcesPage.Items));
        }