Exemplo n.º 1
0
 public InvoiceModelFactory(IInvoiceService invoiceService,
                            IPaymentGatewayManager paymentGatewayManager,
                            IWorkContext workContext)
 {
     _invoiceService        = invoiceService;
     _paymentGatewayManager = paymentGatewayManager;
     _workContext           = workContext;
 }
Exemplo n.º 2
0
 public InvoiceController(IInvoiceService invoiceService,
                          IInvoiceModelFactory invoiceModelFactory,
                          IPaymentGatewayManager paymentGatewayManager,
                          ILocalizationService localizationService)
 {
     _invoiceService        = invoiceService;
     _invoiceModelFactory   = invoiceModelFactory;
     _paymentGatewayManager = paymentGatewayManager;
     _localizationService   = localizationService;
 }