public SeedService(IIngredientsRepository ingredientsRepository, IDishesRepository dishesRepository, IWebHostEnvironment hostingEnvironment, IDishesIngredientsRepository dishesIngredientsRepository)
 {
     _ingredientsRepository       = ingredientsRepository;
     _hostingEnvironment          = hostingEnvironment;
     _dishesRepository            = dishesRepository;
     _dishesIngredientsRepository = dishesIngredientsRepository;
 }
Exemple #2
0
 public DishesIngredientsController(IIngredientsRepository ingredientsRepository, IDishesIngredientsRepository dishesIngredientsRepository, IDishesRepository dishesRepository, IDishesIngredientsService dishIngredientsService)
 {
     _ingredientsRepository       = ingredientsRepository;
     _dishesIngredientsRepository = dishesIngredientsRepository;
     _dishesRepository            = dishesRepository;
     _dishIngredientsService      = dishIngredientsService;
 }
Exemple #3
0
 public DishesIngredientsService(IDishesRepository dishesRepository, IIngredientsRepository ingredientsRepository, IDishesIngredientsRepository dishesIngredientsRepository)
 {
     _dishRepository              = dishesRepository;
     _ingredientsRepository       = ingredientsRepository;
     _dishesIngredientsRepository = dishesIngredientsRepository;
 }