private static DateTime?ReportingDateLastUpdated() { DateTime?reportingDataLastUpdated = null; try { using (_certonaService = new CertonaServiceClient()) { try { UserDTO user = FormsAuthenticationWrapper.User; var getRequest = new GetReportingDataLastUpdatedRequest() { User = user }; var getResponse = _certonaService.GetReportingDataLastUpdated(getRequest); if (getResponse.Success && getResponse.ReportingDataLastUpdated != null) { reportingDataLastUpdated = getResponse.ReportingDataLastUpdated.ReportingDataLastUpdated; } } catch (TimeoutException exception) { _certonaService.Abort(); throw; } catch (CommunicationException exception) { _certonaService.Abort(); throw; } } } catch (Exception ex) { _certonaService.Abort(); throw; } return(reportingDataLastUpdated); }