public SalesProductController(ISalesProductService salesProductService, IProductRuleService productRuleService, IProductService productService)
 {
     _salesProductService = salesProductService;
     _productRuleService  = productRuleService;
     _productService      = productService;
 }
Example #2
0
 public void Init()
 {
     BrEngineContext.Init(null);
     _database            = BrEngineContext.Current.Resolve <IDatabaseHelper>();
     _salesProductService = BrEngineContext.Current.Resolve <ISalesProductService>();
 }