blob: cd33e303e163fd07fb6c68e079717f30823fc27f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Injectable } from '@angular/core';
import { environment } from '../../../../environments/environment';
import { HttpClient } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class HeaderService {
constructor(private http:HttpClient) { }
getTopMenuItems()
{
return this.http.get(environment.getTopMenu,{ withCredentials: true });
}
}
|