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