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