public function getAmenitiesGroupByID($groupID) { $allAmenities = Amenities::where('am_group', $groupID)->get(); return $allAmenities; }