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