public PaymentImpl(IPaymentRepository paymentRepository, IInvoiceRepository invoiceRepository, IInvoiceAdjustmentRepository invoiceAdjustmentRepostory) { _paymentRepository = paymentRepository; _invoiceRepository = invoiceRepository; _invoiceAdjustmentRepostory = invoiceAdjustmentRepostory; _IInvoiceImpl = new InvoiceImpl(_invoiceRepository, _invoiceAdjustmentRepostory); }
public void InvoiceInitializer() { _IInvoiceAdjustmentRepository = new InvoiceAdjustmentRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>()); _IInvoiceRepository = new InvoiceRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>()); _IInvoiceImplBL = new InvoiceImpl(_IInvoiceRepository, _IInvoiceAdjustmentRepository); _IIPaymentRepository = new PaymentRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>()); _IPaymentImplBL = new PaymentImpl(_IIPaymentRepository, _IInvoiceRepository, _IInvoiceAdjustmentRepository); }
public InvoiceImpl(IInvoiceRepository invoiceRepository, IInvoiceAdjustmentRepository invoiceAdjustmentRepostory) { _invoiceRepostory = invoiceRepository; _invoiceAdjustmentRepostory = invoiceAdjustmentRepostory; }