Beispiel #1
0
        public async Task GetMovies()
        {
            IsMoviesBusy = true;
            Movies       = await _engine.GetMovies(_movieSearchModel);

            IsMoviesBusy = false;

            MovieMaxPage              = GetMaxPageCount(Movies.InlineCount, MovieSearchModel.PageSize);
            EnableMovieNextButton     = MovieSearchModel.Page < MovieMaxPage;
            EnableMoviePreviousButton = MovieSearchModel.Page > 1;
            RaisePropertyChanged("HasMovies");
        }