public GalleryLocationsViewmodel(GalleryDataSQLiteRepository _galleryDataSQLiteRepository)
        {
            if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
            {
                return;
            }

            galleryDataSQLiteRepository = _galleryDataSQLiteRepository;
            GalleryLocations            = new ObservableCollection <GalleryLocation>(galleryDataSQLiteRepository.RetrieveGalleryLocations());

            btnCmdChooseGallery = new RelayCommand <GalleryLocation>(tmpGallery =>
            {
                if (tmpGallery == null)
                {
                    ((IViewmodel)this).NavigationErrorPopup("Unable to view gallery.");
                }

                try
                {
                    NavigateToPage(AVAILABLE_PAGES.Gallery, tmpGallery);
                }
                catch (Exception ex)
                {
                    ((IViewmodel)this).NavigationErrorPopup("Unable to view gallery.");
                }
            });
        }
        public AddGalleryLocationViewmodel(GalleryDataSQLiteRepository _galleryDataSQLiteRepository)
        {
            if (DesignerProperties.GetIsInDesignMode(new System.Windows.DependencyObject()))
            {
                return;
            }

            galleryDataSQLiteRepository = _galleryDataSQLiteRepository;

            btnCmdChooseLocationPath = new RelayCommand(OpenFolderDialog);
            btnCmdSave = new RelayCommand(SaveGalleryLocation);
        }