title: Cannot implicitly convert type 'System.Collections.Generic.List<x>' to 'System.Collections.Generic.List<y>'
body: <p>I've used data annotation in my View_Model layer and I have my entities in my Model Layer when I tried to get my methods from Model I got this error  </p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'System.Collections.Generic.List&lt; DigikalaHR.Models.EF_Model.Member>' to 'System.Collections.Generic.List&lt; DigikalaHR.View_Model.Entitys.Member>'</p>
  </blockquote>
  
  <p>this is my code in my View_Model layer where the error happened </p>
  
  <pre><code>    public Models.CRUD.Member Ref_CRUD { get; set; }
  
      public List&lt;View_model.Entitys.Member&gt; GetALLMembers()
      {
          Ref_CRUD = new Models.CRUD.Member();
          return (Ref_CRUD.Get_AllMemeberRecords());
      } 
  </code></pre>
  
  <p>this is my code in my Model layer where I connect to my DB</p>
  
  <pre><code>    public List&lt;EF_Model.Member&gt; Get_AllMemeberRecords()
      {
          using (var context = new EF_Model.DigikalaHREntities())
          {
              var member = context.Members.OrderBy(i =&gt; i.Id).Select(i =&gt; i);
              return member.ToList();
          }
      }
  </code></pre>