where('section_name', $sectionName)->first(); } /** * Update section details by ID. * * @param int $sectionId * @param array $data * @return bool */ public function updateSection($sectionId, $data) { $data['updated_at'] = utc_now(); // Set the updated_at timestamp return $this->update($sectionId, $data); } /** * Delete section by ID. * * @param int $sectionId * @return bool */ public function deleteSection($sectionId) { return $this->delete($sectionId); } }