Пример #1
0
        public async Task <List <Question> > FetchQuestions(int accountId)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.FetchQuestions(connString);

            return(GetDeserializedResponse <Question>(response.FetchQuestionsResult.Nodes));
        }
Пример #2
0
        public async Task <FetchQuestionsResponse> FetchQuestions(int accountId)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.FetchQuestions(connString));
        }