This is a dummy service implementation that returns static data. This data can be used for development purposes in order to have data available at design-time for layouting. This data can also be used to simulate fetching data from a real service.
Inheritance: IPhotoService
 public CategoriesDesignViewModel()
 {
     var photoDummyService = new PhotoDummyService();
     HeroImages = new ObservableCollection<Photo>(photoDummyService.PhotoStreams.First().Photos.Take(5));
     SelectedHeroImage = HeroImages.FirstOrDefault();
     TopCategories = new List<CategoryPreview>(photoDummyService.TopCategories);
 }
 public PhotoDetailsDesignViewModel()
 {
     var photoDummyService = new PhotoDummyService();
     Category = photoDummyService.TopCategories.First();
     Photo = photoDummyService.PhotoStreams.First().Photos.First();
     Annotations = photoDummyService.Annotations;
 }
        public StreamDesignViewModel()
        {
            var service = new PhotoDummyService();
            var photos = service.PhotoStreams.First();

            Category = service.TopCategories.First();
            Photos = new ObservableCollection<Photo>(photos.Photos);
        }
        public ProfileDesignViewModel()
        {
            var service = new PhotoDummyService();
            var photos = service.PhotoStreams.First();

            Photos = new ObservableCollection<Photo>(photos.Photos);

            CurrentUser = service.User;
        }
 public UploadDesignViewModel()
 {
     var dummyService = new PhotoDummyService();
     Category = dummyService.TopCategories.First();
     Photo = dummyService.PhotoStreams.First().Photos.First();
 }
 public LeaderboardDesignViewModel()
 {
     var service = new PhotoDummyService();
     Leaderboard = service.LeaderboardData;
 }
        public CategoriesChooserDesignViewModel()
        {
            var photoDummyService = new PhotoDummyService();

            FilteredCategories = photoDummyService.Categories;
        }