public function handleDelete($data) { AssignmentBackend::delete_assignment(Token::decode($this->params['id'])); return []; }