public Response.CountryResponse GetCountryLookUp() { Response.CountryResponse response = new Response.CountryResponse(); try { response = _subscriberHelper.GetCountryData(); } catch (Exception ex) { _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name); } return(response); }
public Response.CountryResponse GetCountryData() { Response.CountryResponse result = new Response.CountryResponse(); try { result = _httpClientHelper.Get <Response.CountryResponse>(apiBaseURL + "country?pageNo=1&pageSize=1000", _subcriptionAccessToken); } catch (Exception ex) { _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name); } return(result); }