 the Task.AssignedPerson property to the query. Just added the <strong>Include</strong> line:</p>

<pre lang="cs">
public class TaskAppService : SimpleTaskAppAppServiceBase, ITaskAppService
{
    //...

    public async Task&lt;ListResultDto&lt;TaskListDto&gt;&gt; GetAll(GetAllTasksInput input)
    {
        var tasks = await _taskRepository
            .GetAll()
            <strong>.Include(t =&gt; t.AssignedPerson)</strong>
            .WhereIf(input.State.HasValue, t =&gt; t.State == input.State.Value)
 