TaskController: deleteTask() method