1
|
import { environment } from 'src/environments/environment';
|
2
|
import {Injectable} from '@angular/core';
|
3
|
import {GenericRestService} from './generic-rest.service';
|
4
|
import {DocumentSubclassification} from '../models/document-subclassification.interface';
|
5
|
import {HttpClient} from '@angular/common/http';
|
6
|
|
7
|
@Injectable({
|
8
|
providedIn: 'root'
|
9
|
})
|
10
|
export class DocumentSubclassificationService extends GenericRestService<DocumentSubclassification> {
|
11
|
|
12
|
constructor(private http: HttpClient) {
|
13
|
super( `${environment.baseApiUrl}${environment.apiUrl.configurationWs}/documents-subclassifications`, http);
|
14
|
}
|
15
|
|
16
|
}
|