Пример #1
0
        public async Task <IActionResult> GetTopics(string?language = null)
        {
            var topics = await topicStore.QueryAsync(App.Id, new TopicQuery { Scope = TopicQueryScope.Explicit }, HttpContext.RequestAborted);

            var response = topics.Select(x => UserTopicDto.FromDomainObject(x, language, App.Language));

            return(Ok(response));
        }