Added service components
[portal.git] / portal-FE-common / src / app / shared / services / get-access / get-access.service.ts
1 import { Injectable } from '@angular/core';
2 import { environment } from 'src/environments/environment';
3 import { HttpClient } from '@angular/common/http';
4
5 @Injectable({
6   providedIn: 'root'
7 })
8 export class GetAccessService {
9
10   constructor(private http: HttpClient) { }
11   apiUrl = environment.api;
12
13   getListOfApp() {
14     return this.http.get(this.apiUrl.listOfApp);
15   }
16 }