Esempio n. 1
0
 public MainViewModel()
 {
     repository          = new CodesAccountingRepository();
     events              = new EventsAgregator();
     CodesViewModel      = new CodesViewModel(repository, events);
     TemplatesViewModel  = new TemplatesViewModel(repository);
     NavigationViewModel = new NavigationViewModel(repository, events);
 }
Esempio n. 2
0
 public void SaveAll()
 {
     CodesViewModel.SaveAll();
 }