Services/shows: add sending show functionally
This commit is contained in:
parent
b92e54beab
commit
35ce571079
1 changed files with 4 additions and 0 deletions
|
|
@ -19,4 +19,8 @@ export class ShowsApiService {
|
|||
getShows(): Observable<ShowsApiResponse> {
|
||||
return this.http.get<ShowsApiResponse>(this.showsEndpoint)
|
||||
}
|
||||
|
||||
sendShow(newShow: {}) {
|
||||
return this.http.post(this.showsEndpoint, newShow)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue