// DELETE: api/Songs/5 public void Delete(int id) { SongList.DeleteSong(id); }
private void btnDeleteSong_Click(object sender, EventArgs e) { SongList.DeleteSong(songToDelete); this.Close(); }
// DELETE: api/Songs/5 public void Delete(int id) { SongList.DeleteSong(id); }
private void btnDeleteSong_Click(object sender, EventArgs e) { SongList.DeleteSong(songToDelete); this.Close(); }