Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public UserService(
     UserManager <ApplicationUser> userManager,
     IDeletableEntityRepository <ApplicationUser> userRepository,
     ILifestyleService lifestyleService,
     IAllergenService allergenService,
     IUserAllergenService userAllergenService,
     IShoppingListService shoppingListService)
 {
     this.userManager         = userManager;
     this.userRepository      = userRepository;
     this.lifestyleService    = lifestyleService;
     this.allergenService     = allergenService;
     this.userAllergenService = userAllergenService;
     this.shoppingListService = shoppingListService;
 }