public HomeController(IDessertRepository dessertRepository)
 {
     _dessertRepository = dessertRepository;
 }
 public DessertService(IDessertRepository dessertRepository)
 {
     _dessertRepository = dessertRepository;
 }
Example #3
0
 public ShoppingCartController(IDessertRepository dessertRepository, ShoppingCart shoppingCart)
 {
     _dessertRepository = dessertRepository;
     _shoppingCart      = shoppingCart;
 }
Example #4
0
 public DessertController(IDessertRepository dessertRepository, ICategoryRepository categoryRepository)
 {
     _dessertRepository  = dessertRepository;
     _categoryRepository = categoryRepository;
 }