Exemplo n.º 1
0
        private void RefreshAlbum()
        {
            var viewModel = _locator.SwitchToFirstView();

            if (viewModel is WebAlbumListViewModel)
            {
                var webAlbumListViewModel = (WebAlbumListViewModel)viewModel;
                if (webAlbumListViewModel.SelectedAlbum != null)
                {
                    webAlbumListViewModel.SelectedAlbum.RefreshAlbum();
                }
            }
        }