public async Task <IEnumerable <T> > GetItemsAsync <T>(string url, Dictionary <string, string> parameters, bool forceRefresh = false) { var completeUrl = $"{url}{HttpHelper.ParseQueryParams(parameters)}"; return(await HttpHelper.SendRequestAsync <T[]>(completeUrl, HttpMethod.Get)); }
public async Task <bool> ExistsAsync(string url, Dictionary <string, string> parameters) { var query = $"{url}{HttpHelper.ParseQueryParams(parameters)}"; return(await HttpHelper.SendRequestAsync <bool>(query, HttpMethod.Get)); }
public async Task <ValidationResultDto> ValidateAsync(string url, Dictionary <string, string> parameters) { var query = $"{url}{HttpHelper.ParseQueryParams(parameters)}"; return(await HttpHelper.SendRequestAsync <ValidationResultDto>(query, HttpMethod.Get)); }
public async Task <T> GetItemAsync <T>(string url, Dictionary <string, string> parameters) { var completeUrl = $"{url}{HttpHelper.ParseQueryParams(parameters)}"; return(await HttpHelper.SendRequestAsync <T>(completeUrl, HttpMethod.Get)); }