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); }
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); }