mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-05 09:41:42 +02:00
Add services
This commit is contained in:
17
frontend/ng-karaoqueue/src/app/song-service.service.ts
Normal file
17
frontend/ng-karaoqueue/src/app/song-service.service.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpHeaders } from "@angular/common/http";
|
||||
import { Song } from './models/song.model';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class SongServiceService {
|
||||
|
||||
constructor(
|
||||
private http: HttpClient
|
||||
) {}
|
||||
|
||||
searchSongByText(text:string):Array<Song> {
|
||||
return [new Song()];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user