d UpdateTask(UpdateTaskInput input);
    void CreateTask(CreateTaskInput input);
}</pre>

<p><strong>ITaskAppService</strong> extends <strong>IApplicationService</strong>. Thus, ASP.NET Boilerplate automatically provides some features for this class (like dependency injection and validation). Now, let&#39;s implement ITaskAppService:</p>

<pre lang="cs">
public class TaskAppService : ApplicationService, ITaskAppService
{
    //These members set in constructor using constructor injection.
        
    privat