Пример #1
0
 public MainViewModel()
 {
     repository          = new CodesAccountingRepository();
     events              = new EventsAgregator();
     CodesViewModel      = new CodesViewModel(repository, events);
     TemplatesViewModel  = new TemplatesViewModel(repository);
     NavigationViewModel = new NavigationViewModel(repository, events);
 }
Пример #2
0
 public void SaveAll()
 {
     CodesViewModel.SaveAll();
 }