Esempio n. 1
0
 public PointOfSaleTerminal(
     IProductRepository productRepository,
     IDiscountRepository discountRepository,
     IPointOfSellNotificator notificator,
     IDiscountCardService discountCardService)
 {
     _productRepository  = productRepository;
     _discountRepository = discountRepository;
     _notificator        = notificator;
     _subscription       = _notificator.SubscribeCheckClosed(discountCardService.HandleCheckClosed);
 }
Esempio n. 2
0
 public DiscountCardsController(IDiscountCardService service)
 {
     DiscountCardService = service;
 }