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