public function persistAndRetrieveProductTypeEntry($requestBody) { return ProductTypes::firstOrCreate(["name" => $requestBody->type]); }