text: import Api from '@/services/Api'
  
  export default {
    index (search) {
      return Api().get('songs', {
        params: {
          search: search
        }
      })
    }, // show ()
    show (songId) {
      return Api().get(`songs/${songId}`)
    },
    post (song) {
      return Api().post('songs', song)
    },
    put (song) {
      return Api().put(`songs/${song.id}`, song)
    }
  }
  
  // /songs
  // /songs/:id
  