public function show($id) { $products = $this->product->findOrThrowException($id); if (!$products) { return $this->respondNotFound('This Product Not Found'); } return $this->respond(['data' => $this->productTransformer->transform($products->toArray())]); }