You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
501 B
26 lines
501 B
import { Injectable } from "@angular/core";
|
|
import { Projet } from "../models/projet";
|
|
import { Diplome } from "../models/diplomes";
|
|
import { PROJ } from "../datas/projet.stub";
|
|
import { DIPLO } from "../datas/projet.stub";
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class ProjetService {
|
|
private projs: Projet[] = PROJ;
|
|
private dipls : Diplome[] = DIPLO;
|
|
|
|
constructor() {}
|
|
|
|
getProjets(): Projet[]
|
|
{
|
|
return this.projs;
|
|
}
|
|
|
|
getDiplomes(): Diplome[]
|
|
{
|
|
return this.dipls;
|
|
}
|
|
}
|