public function delete($lang, $id)
    {
        if(!User::hasAccess('CustomField', 'delete')) {
            return $this->noPermission();
        }
        $customFieldGroup = CustomFieldGroup::find($id);

        if($customFieldGroup) {
            $fields = CustomField::where('customFieldGroupID', $id);
            if($fields) {
                $fields->delete();
                $customFieldGroup->delete();

                return $this->response('Custom field group is deleted');
            }
        }

        return $this->response('Custom field group could not be deleted. Please try again later', 500);
    }