diff --git a/src/app/service/service-formation.ts b/src/app/service/service-formation.ts index b37a020..e364464 100644 --- a/src/app/service/service-formation.ts +++ b/src/app/service/service-formation.ts @@ -17,6 +17,12 @@ export class ServiceFormation { return this.http.get(urlsFormation.urlFormation); } + + listeFormationsCollaborateur(id) : Observable { + let params = { idCollab : id }; + return this.http.get(urlsFormation.urlFormation, { params }); + } + nouvelleFormation(formation) : Observable { return this.http.post(urlsFormation.newFormation, formation); }