public function show($id, ShowRequest $request)
    {
        $upload = $this->repository->find($id);
        $upload->load($request->getWith());

        if (empty($upload)) {
            return $this->sendError('Upload not found');
        }

        return $this->sendResponse($upload, '');
    }
public function show($id, ShowRequest $request)
    {
        $upload = $this->repository->find($id);
        $upload->load($request->getWith());

        if (empty($upload)) {
            return $this->sendError('Upload not found');
        }

        return $this->sendResponse($upload, '');
    }
public function show ( $ id , ShowRequest $ request ) { $ upload = $ this -> repository -> find ( $ id ) ; $ upload -> load ( $ request -> getWith ( ) ) ; if ( empty ( $ upload ) ) { return $ this -> sendError ( 'Upload not found' ) ; } return $ this -> sendResponse ( $ upload , '' ) ; }
Display the specified Upload.

@param  int $id

@return JsonResponse
Display the specified Upload .