public IList <Model.ConnectionProfile> getAvailableProfiles()
        {
            var profilesFile = ApplicationPathManager.getFilePath(ApplicationFile.ConnectionProfiles);

            if (_profileStore != profilesFile)
            {
                _profileStore = profilesFile;
                fetchProfiles();
            }
            return(_profiles);
        }
        public DBPaths createCleanWorkingCopies(DBPaths paths)
        {
            if (initSessionFromPaths(paths))
            {
                var emptyDB   = ApplicationPathManager.getFilePath(ApplicationFile.EmptyDB);
                var emptyTaxa = ApplicationPathManager.getFilePath(ApplicationFile.EmptyTaxonDB);

                MessengerInstance.Send <StatusNotification>("Services_Session_CreatingCleanCopies");

                if (tryCopyToWorking(emptyDB, emptyTaxa))
                {
                    State = SessionState.Cleaned;
                    return(_workingPaths);
                }
            }
            return(null);
        }