public RecipeService(
     IDeletableEntityRepository <Recipe> recipeRepository,
     ICategoryService categoryService,
     ILifestyleService lifestyleService,
     IRecipeLifestyleService recipeLifestyleService,
     IUserService userService,
     IShoppingListService shoppingListService,
     IUserShoppingListService userShoppingListService,
     INutritionalValueService nutritionalValueService,
     IAllergenService allergenService,
     IRecipeAllergenService recipeAllergenService,
     IUserFavoriteRecipeService userFavoriteRecipeService,
     IUserCookedRecipeService userCookedRecipeService,
     IUserAllergenService userAllergenService,
     IStringFormatService stringFormatService,
     IEnumParseService enumParseService)
 {
     this.recipeRepository          = recipeRepository;
     this.categoryService           = categoryService;
     this.lifestyleService          = lifestyleService;
     this.recipeLifestyleService    = recipeLifestyleService;
     this.userService               = userService;
     this.shoppingListService       = shoppingListService;
     this.userShoppingListService   = userShoppingListService;
     this.nutritionalValueService   = nutritionalValueService;
     this.allergenService           = allergenService;
     this.recipeAllergenService     = recipeAllergenService;
     this.userFavoriteRecipeService = userFavoriteRecipeService;
     this.userCookedRecipeService   = userCookedRecipeService;
     this.userAllergenService       = userAllergenService;
     this.stringFormatService       = stringFormatService;
     this.enumParseService          = enumParseService;
 }
Example #2
0
 public UsersController(
     IUserService userService,
     IAdministratorService administratorService,
     IRecipeService recipeService,
     IAllergenService allergenService,
     ILifestyleService lifestyleService,
     IUserFavoriteRecipeService userFavoriteRecipeService,
     IUserCookedRecipeService userCookedRecipeService,
     ICloudinaryService cloudinaryService)
 {
     this.userService               = userService;
     this.administratorService      = administratorService;
     this.recipeService             = recipeService;
     this.allergenService           = allergenService;
     this.lifestyleService          = lifestyleService;
     this.userFavoriteRecipeService = userFavoriteRecipeService;
     this.userCookedRecipeService   = userCookedRecipeService;
     this.cloudinaryService         = cloudinaryService;
 }
Example #3
0
 public RecipesController(
     IRecipeService recipeService,
     IUserFavoriteRecipeService userFavoriteRecipeService,
     IUserCookedRecipeService userCookedRecipeService,
     IReviewService reviewService,
     IStringFormatService stringFormatService,
     ICategoryService categoryService,
     IAllergenService allergenService,
     ILifestyleService lifestyleService,
     IEnumParseService enumParseService)
 {
     this.recipeService             = recipeService;
     this.userFavoriteRecipeService = userFavoriteRecipeService;
     this.userCookedRecipeService   = userCookedRecipeService;
     this.reviewService             = reviewService;
     this.stringFormatService       = stringFormatService;
     this.categoryService           = categoryService;
     this.allergenService           = allergenService;
     this.lifestyleService          = lifestyleService;
     this.enumParseService          = enumParseService;
 }