Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }