/** * Remove the specified ProductDetail from storage. * DELETE /productDetails/{id} * * @param int $id * * @return Response */ public function destroy($id) { $this->productDetailRepository->apiDeleteOrFail($id); return $this->sendResponse($id, "ProductDetail deleted successfully"); }