rder to update a Task!&quot;, new[] { &quot;AssignedPersonId&quot;, &quot;State&quot; }));
        }
    }

    public override string ToString()
    {
        return string.Format(&quot;[UpdateTask &gt; TaskId = {0}, AssignedPersonId = {1}, State = {2}]&quot;, TaskId, AssignedPersonId, State);
    }
}</pre>

<p><strong>AddValidationErrors</strong> method is the place you can write your custom validation code.</p>

<h3>Handling exceptions</h3>

<p>Note that we did not handled any exception. ASP.NET Boilerpl