Пример #1
0
 public BasketController(
     IProductService productService,
     IComboService comboService,
     IOrderService orderService,
     ICurrentBuyerService currentBuyerService,
     IAsyncRepository <Storage> storageRepository)
 {
     _productService      = productService;
     _comboService        = comboService;
     _currentBuyerService = currentBuyerService;
     _orderService        = orderService;
     _storageRepository   = storageRepository;
 }
Пример #2
0
 public IndexModel(ICurrentBuyerService currentBuyerService)
 {
     _currentBuyerService = currentBuyerService;
 }