title: There is no argument given that corresponds to the required formal parameter of x
body: <pre><code>public static MyViewModel CreateViewModel(Test entity)
  {
      return new MyViewModel
      {
         Date = entity.Date,
         IsSelected = entity.IsSelected
       };
  }
  
  readonly MapViewModel _parent;
  
  public MyViewModel (MapViewModel parent)
  {
    _parent = parent;
  }
  </code></pre>
  
  <p>I am getting the following error message, I could not able to figure out how to handle that. I would be glad if anyone has any ideas.</p>
  
  <blockquote>
    <p>There is no argument given that corresponds to the
    required formal parameter 'parent' of
    'MyViewModel.MyViewModel(MapViewModel)'.</p>
  </blockquote>