country_id)->where('status', 1)->orderBy('name')->get(['id', 'name']); return response()->json([ 'status' => true, 'states' => $states ]); } }