[Danny] Adding an API interface that returns all tasks in the database and return also return a task based on the id