title: problem with automapper I can't access the properties c#
body: <p>I have an error by what I want to access the properties of ViewModel</p>
  <p>my problem is here</p>
  <p>this is my model</p>
  <p><a href="https://i.stack.imgur.com/eJOt9.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eJOt9.gif" alt="enter image description here" /></a></p>
  <p>this is my ViewModel</p>
  <pre><code>    public class ViewModelDemande
  {
      public SeDemande seDemandes { get; set; }
  
      public SeTypeProduit SeTypeProduit { get; set; }
      public  List&lt;SeCritereTest&gt; SeCritereTest { get; set; }
      public SePartenir sePartenirs { get; set; }
      public SeTraitementDemande seTraitementDemandes { get; set; }
      public SeInformationClient SeInformationClient { get; set; }
      public SeClient SeInclient { get; set; }
      public SeAssistantClient assitantclient { get; set; }
  
      public  SePrestation prestation { get; set; }
  
      public SeDemandeTypeProduit demandeTypeProduit { get; set; }
  
      public bool dollar_sgd { get { return seDemandes.DemDollarSgd == true; } set { seDemandes.DemDollarSgd = value; } }
  }
  </code></pre>
  <p>my problem is here</p>
  <pre><code>public class MappingProfile : Profile
  {
      public MappingProfile()
      {
          CreateMap&lt;SeDemande,ViewModelDemande.SeDemande&gt;(); // Mappage de l'objet Developer à l'objet DeveloperDTO
      }
  }
  </code></pre>