use of com.furyviewer.domain.SeriesStats in project FuryViewer by TheDoctor-95.
the class SeriesStatsResource method getSeriesStats.
/**
* GET /series-stats/:id : get the "id" seriesStats.
*
* @param id the id of the seriesStats to retrieve
* @return the ResponseEntity with status 200 (OK) and with body the seriesStats, or with status 404 (Not Found)
*/
@GetMapping("/series-stats/{id}")
@Timed
public ResponseEntity<SeriesStats> getSeriesStats(@PathVariable Long id) {
log.debug("REST request to get SeriesStats : {}", id);
SeriesStats seriesStats = seriesStatsRepository.findOne(id);
return ResponseUtil.wrapOrNotFound(Optional.ofNullable(seriesStats));
}
Aggregations