public NutritionsController( INutritionsService nutritionsService, IIngredientsService ingredientsService) { this.nutritionsService = nutritionsService; this.ingredientsService = ingredientsService; }
public RecipesService( IDeletableEntityRepository <Recipe> recipesRepository, IDeletableEntityRepository <Ingredient> ingredientRepository, IDeletableEntityRepository <Category> categoryRepository, IDeletableEntityRepository <RecipeImage> recipeImageRepository, IDeletableEntityRepository <CategoryRecipe> categoryRecipesRepository, IDeletableEntityRepository <RecipeIngredient> ingredientRecipeRepository, IDeletableEntityRepository <UserRecipe> userRecipeRepository, IDeletableEntityRepository <Nutrition> nutritionRepository, IDeletableEntityRepository <CookingVessel> cookingVesselRepository, IDeletableEntityRepository <ApplicationUser> userRepository, INutritionsService nutritionsService) { this.recipesRepository = recipesRepository; this.ingredientRepository = ingredientRepository; this.categoryRepository = categoryRepository; this.recipeImageRepository = recipeImageRepository; this.categoryRecipesRepository = categoryRecipesRepository; this.ingredientRecipeRepository = ingredientRecipeRepository; this.userRecipeRepository = userRecipeRepository; this.nutritionRepository = nutritionRepository; this.cookingVesselRepository = cookingVesselRepository; this.userRepository = userRepository; this.nutritionsService = nutritionsService; }
public IngredientsService( IDeletableEntityRepository <Ingredient> ingredientRepository, IDeletableEntityRepository <Nutrition> nutritionsRepository, IDeletableEntityRepository <Recipe> recipesRepository, INutritionsService nutritionsService) { this.ingredientRepository = ingredientRepository; this.nutritionsRepository = nutritionsRepository; this.recipesRepository = recipesRepository; this.nutritionsService = nutritionsService; }