Example #1
0
 public GenerateInvoiceViewModel(DAL.EDMX.Client client)
 {
     accessRepo    = new AccessYearRepository();
     invoiceRepo   = new ClientInvoiceRespository();
     Client        = client;
     NoRecordFound = Visibility.Collapsed;
     LoadAccessYear();
     Messenger.Default.Register <InvoiceInformationViewModel>(this, (send) =>
     {
         LoadInvoices();
     });
 }
Example #2
0
 public ManageAYViewModel()
 {
     accessRepo = new AccessYearRepository();
     LoadAccessYear();
 }