           .OrderByDescending(t =&gt; t.CreationTime)
            .ToListAsync();

        return new ListResultDto&lt;TaskListDto&gt;(
            ObjectMapper.Map&lt;List&lt;TaskListDto&gt;&gt;(tasks)
        );
    }
}</pre>

<p>Thus, GetAll method will return Assigned person information with the tasks. Since we used AutoMapper, new properties will also be copied to DTO automatically.</p>

<h3 id="ArticleUnitTestAssignedPerson">Change Unit Test to Test Assigned Person</h3>

<p>At this point, we can chang