title: Auto mapper does not work.
body: <p>I've used <a href="http://automapper.org/" rel="nofollow">AutoMapper</a> in my method but doesn't work.
  Please help me to correct it.</p>
  
  <pre><code>public virtual IEnumerable&lt;TViewModel&gt; FindAllByCriteria(Expression&lt;Func&lt;TModel, bool&gt;&gt; predicate   = null, params Expression&lt;Func&lt;TModel, object&gt;&gt;[] includeProperties)
      {
          IQueryable&lt;TModel&gt; items = RepositoryContainer&lt;TRepository&gt;().FindAll();
          if (includeProperties != null)
          {
              foreach (var includeProperty in includeProperties)
              {
                  items = items.Include(includeProperty);
              }
          }
          var destination_VMList = new List&lt;TViewModel&gt;();
          var source_tModelList = new List&lt;TModel&gt;();
          source_tModelList = predicate != null ? items.Where(predicate).ToList() : items.ToList();
  
          Mapper.Map(source_tModelList, destination_VMList); // Error happened!
  
          return destination_VMList;
      }
  </code></pre>
  
  <p><strong><em>Error message:</em></strong></p>
  
  <pre><code>Missing type map configuration or unsupported mapping.
  
  Mapping types:
  Tag -&gt; TagViewModel
  Jahan.Blog.Model.Tag -&gt; Jahan.Blog.ViewModel.TagViewModel
  
  Destination path:
  List`1[0]
  
  Source value:
  System.Data.Entity.DynamicProxies.Tag_F1F5C39705DF9507B542CCC1A519D0757945F8E00B19F4F20C89F81DF8358563
  </code></pre>