Beispiel #1
0
 public PrescriptionRespository(DefaultDbContext context,
                                IMediator mediator,
                                IPrescriptionGoodsRespository prescriptionGoodsRespository)
 {
     _context  = context;
     _mediator = mediator;
     _prescriptionGoodsRespository = prescriptionGoodsRespository;
 }
Beispiel #2
0
 public PrescriptionContext(IPrescriptionRespository prescriptionRespository,
                            StoreContext storeContext,
                            DefaultDbTransaction defaultDbTransaction,
                            IPrescriptionGoodsRespository prescriptionGoodsRespository)
 {
     _prescriptionRespository      = prescriptionRespository;
     _storeContext                 = storeContext;
     _defaultDbTransaction         = defaultDbTransaction;
     _prescriptionGoodsRespository = prescriptionGoodsRespository;
 }