Ejemplo n.º 1
0
 public DataImportor(ICustomerRepo iCustomerRepo, IGSTRepo iGSTRepo,
     IInvoiceRepo iInvoiceRepo, IOrderDetailRepo iOrderDetailRepo, 
     ISalesmanRepo iSalesmanRepo,IPaymentRepo iPaymentRepo,IPaymentDetailRepo iPaymentDetailRepo)
 {
     custSvr = new CustomerSvc(iCustomerRepo);
     gstSvr = new GSTSvc(iGSTRepo);
     invSvr = new InvoiceSvc(iInvoiceRepo);
     orderDetailSvr = new OrderDetailSvc(iOrderDetailRepo);
     salesmanSvc = new SalesmanSvc(iSalesmanRepo);
     paymentSvc = new PaymentSvc(iPaymentRepo);
     paymentDetailSvc = new PaymentDetailSvc(iPaymentDetailRepo);
 }
Ejemplo n.º 2
0
 public OrderDetailController()
 {
     _svc = new OrderDetailSvc();
 }
Ejemplo n.º 3
0
 public InvoiceController(IInvoiceRepo iInvoiceRepo,IOrderDetailRepo iOrderDetailRepo, IOptionsRepo ioptionsRepo)
 {
     svc = new InvoiceSvc(iInvoiceRepo);
     odSvc = new OrderDetailSvc(iOrderDetailRepo);
     optionsSvc = new OptionsSvc(ioptionsRepo);
 }