示例#1
0
 /**
  * Remove the specified Room from storage.
  * DELETE /rooms/{id}
  *
  * @param  int $id
  *
  * @return Response
  */
 public function destroy($id)
 {
     $this->roomRepository->apiDeleteOrFail($id);
     return $this->sendResponse($id, "Room deleted successfully");
 }