Modification des noms de variables dans le service referent et l'api referent

develop
jboinembalome 4 years ago
parent 991401d487
commit 7221f86417
  1. 2
      IServices/IReferentService.cs
  2. 6
      Services/ReferentService.cs

@ -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;

Loading…
Cancel
Save