@ -10,7 +10,7 @@ namespace EPAServeur.IServices
{
public interface IReferentService
ReferentDTO GetReferentById(Guid? id);
ReferentDTO GetReferentById(Guid? idReferent);
ReferentDTO GetReferentActuelCollaborateur(Guid? idCollaborateur);
IEnumerable<ReferentDTO> GetReferents(bool? asc, int? numPage, int? parPAge, List<string> fonctions, long? idAgence, long? idBU, string texte, string tri);
@ -28,11 +28,11 @@ namespace EPAServeur.Services
/// <summary>
/// Récupère un référent par son id
/// </summary>
/// <param name="id"></param>
/// <param name="idReferent"></param>
/// <returns></returns>
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;