oller</code></a> and <code>I18nSupport</code>.
			</p>
<pre><code>class Tasks @Inject() (val messagesApi: MessagesApi) extends api.ApiController { … }</pre></code>
			<p>
				To list the tasks and allow searching, filtering, sorting and pagination:
			</p>
<pre><code>def list(folderId: Long, q: Option[String], done: Option[Boolean], sort: Option[String], p: Int, s: Int) = SecuredApiAction { implicit request =>
  sortedPage(sort, Task.sortingFields, default = "order") { sortingFields =>
    Task.page(folde