public Entity.LastSyncResponse GetLastSyncDetails()
 {
     Entity.LastSyncResponse result = new Entity.LastSyncResponse();
     try
     {
         result = _subscriberHelper.GetLastSyncDetails();
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
     }
     return(result);
 }
コード例 #2
0
 public Entity.LastSyncResponse GetLastSyncDetails()
 {
     Entity.LastSyncResponse result = new Entity.LastSyncResponse();
     try
     {
         result = _httpClientHelper.Get <Entity.LastSyncResponse>(apiBaseURL + "consumption/lastsync", _subcriptionAccessToken);
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
     }
     return(result);
 }