public MainViewModel(ICustomerDataProvider customerDataProvider) { _customerDataProvider = customerDataProvider; Customers = new ObservableCollection <Customer>(); }
public DepositInvoiceManager(IDepositInvoiceDataProvider depositInvoiceDataProvider, ICustomerDataProvider customerDataProvider, IContactDataProvider contactDataProvider, IBuildingDataProvider buildingDataProvider, IOrderDataProvider orderDataProvider, IVatRateDataProvider vatRateDataProvider, IInvoiceDataProvider invoiceDataProvider, IDocumentGenerationManager documentGenerationManager, ILogger <InvoiceManager> logger) { _depositInvoiceDataProvider = depositInvoiceDataProvider; _customerDataProvider = customerDataProvider; _contactDataProvider = contactDataProvider; _buildingDataProvider = buildingDataProvider; _orderDataProvider = orderDataProvider; _invoiceDataProvider = invoiceDataProvider; _vatRateDataProvider = vatRateDataProvider; _documentGenerationManager = documentGenerationManager; _logger = logger; }