Пример #1
0
 public StoreController(IProductService iProductService, IOrderService iOrderService, IDiscountSchemeService iDiscountSchemeService)
 {
     _iProductService        = iProductService;
     _iOrderService          = iOrderService;
     _iDiscountSchemeService = iDiscountSchemeService;
 }
Пример #2
0
 public DiscountSchemesController(IDiscountSchemeService discountSchemeService)
 {
     this.discountSchemeService = discountSchemeService;
 }
Пример #3
0
 public StoreController()
 {
     _iDiscountSchemeService = new DiscountSchemeService();
     _iProductService        = new ProductService();
     _iOrderService          = new OrderService();
 }
Пример #4
0
 public BidsController(IBidService bidService, IDiscountSchemeService discountSchemeService)
 {
     this.bidService            = bidService;
     this.discountSchemeService = discountSchemeService;
 }