">
public async Task&lt;ActionResult&gt; Index(GetAllTasksInput input)
{
    var output = await _taskAppService.GetAll(input);
    var model = new IndexViewModel(output.Items)
    {
        <strong>SelectedTaskState = input.State</strong>
    };
    return View(model);
}</pre>

<p>Now, we can run the application to see the combobox at the top right of the view:</p>

<p><img alt="Task list" height="405" src="task-list-view-2.png" width="763" /></p>

<p>I added the combobox but it can not work yet. I&#39;ll w