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); }
public InvoiceController(ICustomerRepo iCustomerRepo, ISalesmanRepo iSalesmanRepo) { cHelper = new ControllerHelper(this, iCustomerRepo); customerSvc = new CustomerSvc(iCustomerRepo); salesmanSvc = new SalesmanSvc(iSalesmanRepo); }