public BusinessLogic_Documents() { container = DI_Container.Config(); receiptProcessor = container.Resolve <IReceiptProcessor>(); invoiceProcessor = container.Resolve <IInvoiceProcessor>(); vendor = container.Resolve <IVendor>(); buyer = container.Resolve <IBuyer>(); invoice = container.Resolve <IInvoice>(); }
public ReceiptProcessor() { container = DI_Container.Config(); receipt = container.Resolve <IReceipt>(); }