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