public void DeletePhotos()
 {
     photoService.DeletePhotos(SelectedPhotos);
     SelectedPhotos.Clear();
     IsDeleteDialogVisible = false;
     ReloadData();
 }
 public void MovePhotos(Guid destination)
 {
     directoryService.MovePhotos(SelectedPhotos, destination);
     SelectedPhotos.Clear();
     IsMoveDialogVisible = false;
     DirStructure        = null;
     ReloadData();
 }
 public void SelectAll()
 {
     if (SelectAllChecked)
     {
         SelectedPhotos = photoService.GetAllPhotosIds(CurrentFolder.Id);
     }
     else
     {
         SelectedPhotos.Clear();
     }
 }