private void LoadData()
        {
            _movieSection = SampleData.Movies.FirstOrDefault(x => x.Id == _movieSection.Id);
            if (_movieSection != null)
            {
                _movie = _movieSection.Content.FirstOrDefault(x => x.Id == _movie.Id);
                _movieSectionViewModel = null;

                NotifyAllPropertiesChanged();
            }
        }
        public MovieSectionViewModel(MovieSection section, bool related = false)
        {
            Title = related ? string.Format(AppResources.StringMoreFrom, section.Title) : section.Title;

            var content = new List <MovieViewModel>();

            foreach (var m in section.Content)
            {
                content.Add(new MovieViewModel(m, section));
            }

            Content = content;
        }
 public MovieViewModel(Movie movie, MovieSection section)
     : base(listenCultureChanges: true)
 {
     _movie        = movie;
     _movieSection = section;
 }