public Response.TimezoneResponse GetTimezoneLookUp()
 {
     Response.TimezoneResponse response = new Response.TimezoneResponse();
     try
     {
         response = _subscriberHelper.GetTimezoneData();
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
     }
     return(response);
 }
Exemplo n.º 2
0
        public Response.TimezoneResponse GetTimezoneData()
        {
            Response.TimezoneResponse result = new Response.TimezoneResponse();
            try
            {
                result = _httpClientHelper.Get <Response.TimezoneResponse>(apiBaseURL + "timezone?pageNo=1&pageSize=200", _subcriptionAccessToken);
            }
            catch (Exception ex)
            {
                _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
            }

            return(result);
        }