/** * Remove the specified ConceptPropertyHistory from storage. * * @param int $id * * @return Response */ public function destroy($id) { $conceptPropertyHistory = $this->conceptPropertyHistoryRepository->find($id); if (empty($conceptPropertyHistory)) { Flash::error('ConceptPropertyHistory not found'); return redirect(route('conceptpropertyhistory.index')); } $this->conceptPropertyHistoryRepository->delete($id); Flash::success('ConceptPropertyHistory deleted successfully.'); return redirect(route('conceptpropertyhistory.index')); }