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