Beispiel #1
0
 public OrderController(IOrderModel orderModel, IPromotionModel promotionModel)
 {
     _orderModel = orderModel;
     _promModel  = promotionModel;
 }
 public ProductController(IProductModel productModel, ICacheHelper cache, IPromotionModel promotionModel)
 {
     _productModel   = productModel;
     _cache          = cache;
     _promotionModel = promotionModel;
 }
Beispiel #3
0
 public PromotionController(IPromotionModel promotionModel)
 {
     _promModel = promotionModel;
 }