', -1)->orderBy('display_order')->get(); } public function getProvinceById($provinceId) { return Provinces::findOrFail($provinceId); } public function delete($provinceId) { return Provinces::destroy($provinceId); } public function create(array $provinceDetails) { return Provinces::create($provinceDetails); } public function update($provinceId, array $newDetails){ return Provinces::where('province_id', $provinceId)->update($newDetails); } }