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