public DrinkController(ICategoryRepo categoryRepo, IDrinkRepo drinkRepo) { _categoryRepo = categoryRepo; _drinkRepo = drinkRepo; }
public ShoppingCartController(IDrinkRepo drinkRepository, ShoppingCart shoppingCart) { _drinkRepository = drinkRepository; _shoppingCart = shoppingCart; }
public HomeController(IDrinkRepo drinkRepository) { _drinkRepository = drinkRepository; }
public HomeController(ILogger <HomeController> logger, IDrinkRepo drinkRepo, IOrderRepo orderRepo) { _logger = logger; _drinkRepo = drinkRepo; _orderRepo = orderRepo; }