public ModelFactory(ICustomerService customersService, IInvoiceService invoiceService, IInvoiceItemService invoiceItemService, ISettingsService settingsService, IVendorService vendorService, IVendorInvoiceService vendorInvoiceService) { _customersService = customersService; _invoiceService = invoiceService; _invoiceItemService = invoiceItemService; _settingsService = settingsService; _vendorService = vendorService; _vendorInvoiceService = vendorInvoiceService; }
public HomeController(ILogger <HomeController> logger, IModelFactory modelFactory, ICustomerService customerService, IInvoiceService invoiceService, IInvoiceItemService invoiceItemService, ISettingsService settingsService, IVendorService vendorService, IVendorInvoiceService vendorInvoiceService) { _logger = logger; _modelFactory = modelFactory; _customerService = customerService; _invoiceService = invoiceService; _invoiceItemService = invoiceItemService; _settingsService = settingsService; _vendorService = vendorService; _vendorInvoiceService = vendorInvoiceService; }