示例#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;
 }
示例#2
0
 public ManageController(
     IDishTypeService dishTypeService,
     IIngredientService ingredientService,
     IDishService dishService,
     IDrinkTypeService drinkTypeService,
     IPackagingService packagingService,
     IAllergenService allergenService,
     IWebHostEnvironment webHostEnvironment,
     IDrinkService drinkService,
     IUserService userService,
     IOrderService orderService,
     ITableService tableService,
     IPromoCodeService promoCodeService)
 {
     this.dishTypeService    = dishTypeService;
     this.ingredientService  = ingredientService;
     this.dishService        = dishService;
     this.drinkTypeService   = drinkTypeService;
     this.packagingService   = packagingService;
     this.allergenService    = allergenService;
     this.webHostEnvironment = webHostEnvironment;
     this.drinkService       = drinkService;
     this.userService        = userService;
     this.orderService       = orderService;
     this.tableService       = tableService;
     this.promoCodeService   = promoCodeService;
 }
示例#3
0
 public ProductService(IProductRepository productRepository, IMapper mapper, IIngredientService ingredientService, IAllergenService allergenService)
 {
     _allergernService  = allergenService;
     _ingredientService = ingredientService;
     _productRepository = productRepository;
     _mapper            = mapper;
 }
 public IngredientService(
     IDeletableEntityRepository <Ingredient> ingredientRepository,
     IAllergenService allergenService
     )
 {
     this.ingredientRepository = ingredientRepository;
     this.allergenService      = allergenService;
 }
示例#5
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;
 }
 public RecipesController(
     ICategoryService categoryService,
     IAllergenService allergenService,
     ILifestyleService lifestyleService,
     IRecipeService recipeService,
     ICloudinaryService cloudinaryService,
     IEnumParseService enumParseService)
 {
     this.categoryService   = categoryService;
     this.allergenService   = allergenService;
     this.lifestyleService  = lifestyleService;
     this.recipeService     = recipeService;
     this.cloudinaryService = cloudinaryService;
     this.enumParseService  = enumParseService;
 }
示例#7
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;
 }
示例#8
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;
 }
 public ProductController(IProductService productService, IAllergenService allergenService, IIngredientService ingredientService)
 {
     _productService    = productService;
     _allergenService   = allergenService;
     _ingredientService = ingredientService;
 }