tabase at the end of the method automatically.</p>

<p>In the <strong>CreateTask</strong> method, I simply created a new Task and inserted to database using the IRepository&#39;s Insert method.</p>

<p>ASP.NET Boilerplate&#39;s <strong>ApplicationService</strong> class has some properties to make developing application services easier. For example, it defines a <strong>Logger</strong> property for logging. So, we derived TaskAppService from ApplicationService and used it&#39;s Logger property here. It&#39;s