Esempio n. 1
0
 public MainViewModel(ICustomerDataProvider customerDataProvider)
 {
     _customerDataProvider = customerDataProvider;
     Customers             = new ObservableCollection <Customer>();
 }
Esempio n. 2
0
 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;
 }