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