Example #1
0
 public RetailOrderController(ICoreService <RetailOrderController> coreService,
                              IRetailOrderRepository retailOrderRepository,
                              IRetailPromotionEventRepository retailPromotionEventRepository,
                              IRetailOrderService retailOrderService) : base(coreService)
 {
     _retailOrderRepository = retailOrderRepository;
     _retailOrderService    = retailOrderService;
 }
 public RetailOrderService(IRetailOrderRepository retailOrderRepository,
                           IRetailPromotionEventRepository retailPromotionEventRepository,
                           IRetailPromotionGiftOrderRepository retailPromotionGiftOrderRepository)
 {
     _retailOrderRepository              = retailOrderRepository;
     _retailPromotionEventRepository     = retailPromotionEventRepository;
     _retailPromotionGiftOrderRepository = retailPromotionGiftOrderRepository;
 }