title: mapping list of objects using automapper
body: <p>I'm using automapper in order to map objects on the fly.</p>
  <pre><code>public class CarProfile : Profile
  {
      public CarProfile()
      {
          CreateMap&lt;Car, CarVM&gt;();
          CreateMap&lt;CarVM, Car&gt;();
          CreateMap&lt;List&lt;Car&gt;, List&lt;CarVM&gt;&gt;();
          CreateMap&lt;List&lt;CarVM&gt;, List&lt;Car&gt;&gt;();            
      }
  }
  
  List&lt;Car&gt; cars = ... get data()...
  List&lt;CarVM&gt; vmList = new List&lt;CarVM&gt;();
  
  foreach (var car in cars)
  {
      vmList.Add(mapper.Map&lt;Car&gt;(item));
  }
  </code></pre>
  <p>This works but I want to map list instead of each object in the list inside foreach, so I tried</p>
  <pre><code> vmList.AddRange(mapper.Map&lt;List&lt;Car&gt;&gt;(cars));
  </code></pre>
  <p>and I'm getting no exception or error but no objects in the vmList.
  What I'm missing here?</p>