public DescriptionViewModel()
 {
     Name        = DesignDataHelper.GetName();
     Description = DesignDataHelper.GetDescription();
     ImageUrl    = DesignDataHelper.GetImageUrl(SearchTypes.na);
     HasImage    = !string.IsNullOrEmpty(ImageUrl);
 }
 public MoviePremiereViewModel()
 {
     Title       = DesignDataHelper.GetName();
     Premiere    = DesignDataHelper.GetMoviePremiereInfo();
     HasComment  = !string.IsNullOrEmpty(Premiere.PremiereComment);
     HasTheaters = Premiere.PremiereTheatres != null && Premiere.PremiereTheatres.Count > 0;
 }
Beispiel #3
0
 public ImageViewModel()
 {
     Name     = DesignDataHelper.GetName();
     ImageUrl = DesignDataHelper.GetImageUrl(SearchTypes.Movie);
 }