/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     //
     $card = new Card();
     try {
         $statusCode = 200;
         $response = $card->getCardById($id);
         if ($response->count() < 1) {
             $statusCode = 204;
         }
     } catch (Exception $e) {
         $response = ["error" => "Error interno"];
         $statusCode = 500;
     } finally {
         return Response::json($response, $statusCode);
     }
 }