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