blob: fdb261d52b4ddca78f8d62280710a8292f869fd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiService } from '../../../../common/core/services/api.service';
@Injectable({
providedIn: 'root'
})
export class SearchTemplateService {
constructor(private _http: HttpClient, private api: ApiService) { }
searchByTags(uri: string, searchText: String): Observable<any>{
return this.api.post(uri, searchText);
}
}
|