public CatalogPageViewModel(CatalogPage view, IMovieRepository repository)
        {
            this.repository = repository;
            this.view = view;

            Genres = new ObservableCollection<Genre>();
            Movies = new ObservableCollection<Movie>();
            allMovies = new List<Movie>();

            RetrieveData();
        }
 public void NavigateToMovieCatalog()
 {
     var catalogPage = new CatalogPage();
     DataContext = catalogPage;
 }