update($data); } public function deleteOutcome(string $id): bool { return CourseOutcome::find($id)->delete(); } }