public EnvironmentState GetStateOf(EnvironmentData environmentData)
        {
            var state = new EnvironmentState();
            var databaseState = _databaseService.GetDatabaseState(environmentData);
            state.DatabaseStatus = databaseState.Status;
            state.DatabaseVersion = databaseState.Version;

            var applicationState = _applicationService.GetApplicationState(environmentData);
            state.ApplicationStatus = applicationState.Status;
            state.ApplicationVersion = applicationState.Version;

            return state;
        }
 private void UpdateStatus(object obj)
 {
     _state = _environmentService.GetStateOf(EnvironmentData);
     OnPropertiesChanged("ApplicationVersion", "ApplicationStatus", "DatabaseVersion", "DatabaseStatus");
 }