title: Map a complex MVC ViewModel in knockout
body: <p>I have a MVC view which contains observables and observablearrays. What is the proper way to map?</p>
  
  <p>My MVC ViewModel looks similar to this:</p>
  
  <pre><code>public class CategorysEditViewModel
  {
      public Category Categorys { get; set; }
      public IEnumerable&lt;Expert&gt; candidates { get; set; }
      public IEnumerable&lt;Expert&gt; experts { get; set; }
  }
  
  
  public class Category
  {
      public int CategoryID { get; set; }
      public string Name { get; set; }
      public string Description { get; set; }
      public string Policy { get; set; }
  }
  
  public class Expert
  {
      public int ExpertID { get; set; }
      public int CategoryID { get; set; }
      public string Name { get; set; }
      public string ExpertGUID { get; set; }
  }
  </code></pre>