public SearchViewModel(IRecipeService recipeService, IAuthenticator authenticator, IViewBag viewBag, INavigator navigator) { this._recipeService = recipeService; this._authenticator = authenticator; this._viewBag = viewBag; this._navigator = navigator; this.Init(); }
public MyRecipesViewModel(IRecipeService recipeService, IAuthenticator authenticator, INavigator navigator, IViewBag viewBag) { this._recipeService = recipeService; this._authenticator = authenticator; this._navigator = navigator; this._viewBag = viewBag; this.LoadRecipesCommand.Execute(null); this.Init(); }
public EditRecipeViewModel( IViewBag viewBag, IRecipeService recipeService, INavigator navigator, IAuthenticator authenticator) { this._viewBag = viewBag; this._recipeService = recipeService; this._navigator = navigator; this._authenticator = authenticator; this.IngredientsGridViewModel = new IngredientsGridViewModel(); this.Init(); }