コード例 #1
0
        public async Task <IEnumerable <Message> > Get()
        {
            var request = _restClientFactory.GetRestRequest(_config.MessagesApi);

            var response = await _client.ExecuteTaskAsync <List <Message> >(request, Method.GET);

            return(response.Data);
        }