public RegistrateInvoiceViewModel(IInvoiceDataAccess invoiceDataAccess, ICompanyDataAccess companyDataAccess, IPersonDataAccess personDataAccess)
		{
			_invoiceDataAccess = invoiceDataAccess;
			_companyDataAccess = companyDataAccess;
			_personDataAccess = personDataAccess;
			InitializeViewModel();
		}
Beispiel #2
0
 public RegistrateInvoiceViewModel(IInvoiceDataAccess invoiceDataAccess, ICompanyDataAccess companyDataAccess, IPersonDataAccess personDataAccess)
 {
     _invoiceDataAccess = invoiceDataAccess;
     _companyDataAccess = companyDataAccess;
     _personDataAccess  = personDataAccess;
     InitializeViewModel();
 }
Beispiel #3
0
		public InvoiceViewModel(IInvoiceDataAccess invoiceDataAccess)
		{
			_invoiceDataAccess = invoiceDataAccess;
			Invoices = _invoiceDataAccess.LoadAllInvoices();
		}
Beispiel #4
0
 public InvoiceViewModel(IInvoiceDataAccess invoiceDataAccess)
 {
     _invoiceDataAccess = invoiceDataAccess;
     Invoices           = _invoiceDataAccess.LoadAllInvoices();
 }