Esempio n. 1
0
 /// <summary></summary>
 public InvoiceLinesController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IInvoiceLineService service)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _service         = service;
 }
Esempio n. 2
0
 public frmInvoice()
 {
     InitializeComponent();
     _productService     = InstanceFactory.GetInstance <IProductService>();
     _invoiceService     = InstanceFactory.GetInstance <IInvoiceService>();
     _saleInvoiceService = InstanceFactory.GetInstance <ISaleInvoiceService>();
     _invoiceLineService = InstanceFactory.GetInstance <IInvoiceLineService>();
     _customerService    = InstanceFactory.GetInstance <ICustomerService>();
 }