public WeeklyRecipeViewModel(
            BackgroundImageRotator backgroundImageRotator, 
            IRecipeService recipeService, 
            RecipeMapper recipeMapper, 
            WeeklyThaiRecipeSettings weeklyThaiRecipeSettings, 
            IPushRegistrationService pushRegistrationService)
        {
            this.backgroundImageRotator = backgroundImageRotator;
            this.weeklyThaiRecipeSettings = weeklyThaiRecipeSettings;
            this.pushRegistrationService = pushRegistrationService;
            BusyIndicatorIsVisible = true;

            Messenger.Default.Register<List<Recipe>>(
                this,
                message =>
                    {
                        Recipes = new ObservableCollection<RecipeViewModel>(recipeMapper.Map(message));
                        Recipes[0].IsFirst = true;
                        this.CurrentRecipe = Recipes[0];
                        BusyIndicatorIsVisible = false;
                    });

            RotatePanoramaBackground();
            this.InitializeAndStartTimer();
            recipeService.StartGetAllRecipes();

            this.SubmitReviewCommand = new RelayCommand(SubmitReview);
            this.MoreAppsCommand = new RelayCommand(this.MoreApps);
        }
 public PushRegistrationService(IDeviceIdRepository deviceIdRepository, IPhoneRegistrationService registrationService, WeeklyThaiRecipeSettings weeklyThaiRecipeSettings)
 {
     this.deviceIdRepository = deviceIdRepository;
     this.registrationService = registrationService;
     this.weeklyThaiRecipeSettings = weeklyThaiRecipeSettings;
 }
 public RecipeService(WeeklyThaiRecipeSettings settings)
 {
     this.settings = settings;
     this.networkConnection = new NetworkConnection();
 }