TinyMapper mapping with list of entity object
<p>I have started using tinymapper in my project for object-to-object mapping and succeeded for single object to single object mapping, but I am stuck when I want to map the whole list of entity object to list of DTO class. Can you please help me out. I googled but didn't find any solution. Can anyone please help me out?</p>

<p>I am able to map single object to object by using the below code:</p>

<pre><code>var sq = new SurveyQuestion
            {
                SurveyId = 61,
                Question = "John",
                QuestionDescription = "Doe",
                Type = "DB",
                Selector = "TB",
                QuestionId = "QID1",
                SubSelector = "TX"
             }
TinyMapper.Bind&lt;Survey, surveyDto&gt;();
var result = TinyMapper.Map&lt;surveyDto&gt;(sq);
</code></pre>

<p>But I am stuck when I want to map the whole list of survey entity to surveyDto entity:</p>

<pre><code>List&lt;Survey&gt; survey = _surveyRepository.All().ToList();
TinyMapper.Bind&lt;List&lt;Survey&gt;, List&lt;SurveyDto&gt;&gt;();
List&lt;SurveyDto&gt; surveyDto = TinyMapper.Map&lt;List&lt;SurveyDto&gt;&gt;(survey);
</code></pre>

<p>I am getting the this error:</p>

<blockquote>
  <p>Cannot implicitly convert type
  'System.Collections.Generic.List&lt;SurveyDto>' to
  'SurveyDto'"</p>
</blockquote>