title: Referencing Methods and repositories from within sub viewModel in MVVM
body: <p>Still feeling my way through MVVM, and have come up against this issue:</p>
  
  <p>I have a top level ViewModel, lets call it ModelLevel1.</p>
  
  <p>I have a sub ViewModel that belongs to it, that a control uses for all its bindings, lets call that ControlViewModel1. The Control only binds to ControlViewModel1.</p>
  
  <p>In the Top level Viewmodel, there is a Repository, and a method to get a record from the repository from an id.</p>
  
  <p>What is the best way to allow ControlViewModel1 to access the method so it can get a record from the repository?</p>
  
  <p>Cheers,</p>
  
  <p>Rob</p>