package com.sonymusic.dx.dxadvsearchservice.controllers;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sonymusic.dx.dxadvsearchservice.dto.LyricsIndicatorDTO;
import com.sonymusic.dx.dxadvsearchservice.service.LyricsIndicatorService;

@RestController
@RequestMapping("/lyrics")
public class LyricsIndicatorController {

    @Autowired
    LyricsIndicatorService lyricsIndicatorService;

    @GetMapping("/all")
    private List<LyricsIndicatorDTO> getListOfLyricsIndicator() {
        return lyricsIndicatorService.getListOfLyricsIndicator();

    }
}
