Exemplo n.º 1
0
 public DishController(ApplicationDbContext context, DishIngredientService dishIngredientService)
 {
     _context = context;
     _dishIngredientService = dishIngredientService;
 }
Exemplo n.º 2
0
 public HomeController(ApplicationDbContext context, DishIngredientService dishIngredientService, CartService cartService)
 {
     _context = context;
     _dishIngredientService = dishIngredientService;
     _cartService           = cartService;
 }