Exemplo n.º 1
0
 public HomeController(ICategoryRepository categoryRepository, IDrinkRepository drinkRepository, IPromotionRepository promotionRepository, INotifyPopupRepository notifyPopupRepository)
 {
     _categoryRepository    = categoryRepository;
     _drinkRepository       = drinkRepository;
     _promotionRepository   = promotionRepository;
     _notifyPopupRepository = notifyPopupRepository;
 }
Exemplo n.º 2
0
 public NotifyPopupsController(INotifyPopupRepository notifyPopupRepository)
 {
     _notifyPopupRepository = notifyPopupRepository;
 }
Exemplo n.º 3
0
 public MenuViewComponent(IDrinkRepository categoryRepository, INotifyPopupRepository notifyPopupRepository, IDeviceResolver deviceResolver)
 {
     _drinkRepository       = categoryRepository;
     _notifyPopupRepository = notifyPopupRepository;
     _device = deviceResolver.Device;
 }