/**
  * Remove the specified ConceptProperty from storage.
  *
  * @param  int $id
  *
  * @return Response
  */
 public function destroy($id)
 {
     $conceptProperty = $this->conceptPropertyRepository->find($id);
     if (empty($conceptProperty)) {
         Flash::error('ConceptProperty not found');
         return redirect(route('conceptproperties.index'));
     }
     $this->conceptPropertyRepository->delete($id);
     Flash::success('ConceptProperty deleted successfully.');
     return redirect(route('conceptproperties.index'));
 }
 /**
  * Remove the specified ConceptProperty from storage.
  * DELETE /conceptProperties/{id}
  *
  * @param  int $id
  *
  * @return Response
  */
 public function destroy($id)
 {
     $this->conceptPropertyRepository->apiDeleteOrFail($id);
     return $this->sendResponse($id, "ConceptProperty deleted successfully");
 }