public function inquiry(Product $id, ProductInquiry $request): JsonResponse 	{ 		try { 			Mail::send(new ProductInquiryMail($request->email, $request->message, $request->type, $id->name, $id->code)); 		} catch (Exception) { 			return response()->json(['data' => [ 				'success' => false, 			]], 500); 		}  		return response()->json(['data' => [ 			'success' => true, 		]], 200); 	}