Ejemplo n.º 1
0
 public PurchaseGoodsRespository(DefaultDbContext context, IMediator mediator,
                                 IPurchaseRespository purchaseRespository)
 {
     _context             = context;
     _mediator            = mediator;
     _purchaseRespository = purchaseRespository;
 }
Ejemplo n.º 2
0
 public PurchaseContext(IPurchaseRespository purchaseRespository,
                        PurchaseSettingThresholdContext purchaseSettingThresholdContext,
                        PurchaseGoodsContext purchaseGoodsContext,
                        ICapPublisher bus)
 {
     _purchaseRespository             = purchaseRespository;
     _purchaseSettingThresholdContext = purchaseSettingThresholdContext;
     _purchaseGoodsContext            = purchaseGoodsContext;
     _bus = bus;
 }