Controller actually gets a <strong>GetAllTasksInput</strong> that can be used to filter tasks. So, we can add a dropdown to task list view to filter tasks. First, I added the dropdown to the view (I added inside the header):</p>

<pre lang="xml">
&lt;h2&gt;
    @L(&quot;TaskList&quot;)
<strong>    &lt;span class=&quot;pull-right&quot;&gt;
        @Html.DropDownListFor(
           model =&gt; model.SelectedTaskState,
           Model.GetTasksStateSelectListItems(LocalizationManager),
           new
         