Пример #1
0
 /**
  * Remove the specified pet from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $response['success'] = Pet::destroy($id) ? true : false;
     return Response::json($response);
 }