From 7221f86417627d0e8fd662a51e627a4e0974d9f5 Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Fri, 11 Sep 2020 16:37:20 +0200 Subject: [PATCH] Modification des noms de variables dans le service referent et l'api referent --- IServices/IReferentService.cs | 2 +- Services/ReferentService.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IServices/IReferentService.cs b/IServices/IReferentService.cs index fe24257..f54ce36 100644 --- a/IServices/IReferentService.cs +++ b/IServices/IReferentService.cs @@ -10,7 +10,7 @@ namespace EPAServeur.IServices { public interface IReferentService { - ReferentDTO GetReferentById(Guid? id); + ReferentDTO GetReferentById(Guid? idReferent); ReferentDTO GetReferentActuelCollaborateur(Guid? idCollaborateur); IEnumerable GetReferents(bool? asc, int? numPage, int? parPAge, List fonctions, long? idAgence, long? idBU, string texte, string tri); diff --git a/Services/ReferentService.cs b/Services/ReferentService.cs index 68b9892..b9563a9 100644 --- a/Services/ReferentService.cs +++ b/Services/ReferentService.cs @@ -28,11 +28,11 @@ namespace EPAServeur.Services /// /// Récupère un référent par son id /// - /// + /// /// - public ReferentDTO GetReferentById(Guid? id) + public ReferentDTO GetReferentById(Guid? idReferent) { - Referent referent = referentApi.ChercherRefId(id); + Referent referent = referentApi.ChercherRefId(idReferent); if (referent == null) return null;