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 GSTController(IGSTRepo iGSTRepo) { svc = new GSTSvc(iGSTRepo); }