pub async fn handle_delete( task_mgr: &impl TaskBackend, id: i64, cascade: bool, format: String, ) -> Result<()>