blob: b154d41a06139e2a5d555578bdf02bef1a9a2df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { Injectable } from '@angular/core';
import { HttpClient} from '@angular/common/http';
import { environment } from '../../environments/environment';
import { SoftwareComponent } from "../model/software-component";
import { SoftwareComponentSerializer } from "../serializer/software-component.serializer";
import {ResourceService} from "globunet-angular/core/providers/api/resource.service";
@Injectable({
providedIn: 'root'
})
export class SoftwareComponentService extends ResourceService<SoftwareComponent> {
constructor(http: HttpClient){
super(http, environment.API_URL,"softwarecomponents", new SoftwareComponentSerializer());
}
}
|