add song to show

This commit is contained in:
2020-03-08 10:23:49 +01:00
committed by smuddy
parent bb0676a428
commit 605fe0b2ad
10 changed files with 122 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
import {Injectable} from '@angular/core';
import {ShowSongDataService} from './show-song-data.service';
@Injectable({
providedIn: 'root'
})
export class ShowSongService {
constructor(private showSongDataService: ShowSongDataService) {
}
public async new$(showId: string, songId: string): Promise<string> {
const data = {songId};
return await this.showSongDataService.add(showId, data);
}
}