public void OnSelectPhoto(PicasaPhotoListViewModel model) { if (model != null && model.SelectedPhoto != null) { int photoIndex = PhotoList.IndexOf(SelectedPhoto); _navigationService.Navigate(UrlHelper.PicasaGallery(AlbumId, photoIndex)); } }