Esempio n. 1
0
 public MainViewModel(IRecipeLogic data, INutritionCalculator nutritionCalculator, IRecipeCategoryLogic categoryLogic,CategoriesViewModel categoriesViewModel )//RecipesListViewModel recipesListViewModel
 {
     this.data = data;
     this.categoryLogic = categoryLogic;
     this.nutritionCalculator = nutritionCalculator;
     this.CurrentPageViewModel = categoriesViewModel; 
 }
Esempio n. 2
0
 public CurrentCategoryRecipeViewModel(IRecipeLogic data, IRecipeCategoryLogic recipeCategoryLogic, Guid selectedid) : this(data, recipeCategoryLogic)
 {
     this.data = data;
     this.recipeCategoryData = recipeCategoryLogic;
     this.SelectedId         = selectedid;
     this.SelectedCategory   = recipeCategoryLogic.GetCategory(selectedid);
 }
Esempio n. 3
0
 public FilterRecipesModel(IRecipeLogic recipeLogic, IRecipeApi recipeApi)
 {
     this.recipeLogic = recipeLogic;
     this.recipeApi   = recipeApi;
 }
Esempio n. 4
0
 public IndexModel(IRecipeLogic recipeLogic, IRecipeApi recipeApi)
 {
     this.recipeLogic = recipeLogic;
     this.recipeApi   = recipeApi;
 }
Esempio n. 5
0
 public RecipeController(IRecipeLogic recipeLogic)
 {
     this.recipeLogic = recipeLogic;
 }
Esempio n. 6
0
 public CurrentCategoryRecipeViewModel(IRecipeLogic data, IRecipeCategoryLogic recipeCategoryLogic)
 {
     this.data = data;
     this.recipeCategoryData = recipeCategoryLogic;
 }