public async Task <U> CallServiceAsync <U>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > headers, List <KeyValuePair <string, string> > urlParameters, string accessToken = null)
 {
     return(await CommunicationHelper.Call <U>(await GetServiceEndpoint(serviceKey), method, headers, urlParameters, accessToken));
 }
 public async Task <U> CallServiceAsync <U>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > formUrlEncodedContent, string accessToken = null)
 {
     return(await CommunicationHelper.Call <U>(await GetServiceEndpoint(serviceKey), method, formUrlEncodedContent, accessToken));
 }
        public async Task CallServiceAsync <T>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > headers, List <KeyValuePair <string, string> > urlParameters, T bodyContent, string accessToken = null)
        {
            await CommunicationHelper.Call <T>(await GetServiceEndpoint(serviceKey), method, headers, urlParameters, bodyContent, accessToken);

            return;
        }