using EPAServeur.Models.EP; using EPAServeur.Models.Formation; using EPAServeur.Models.Notes; using EPAServeur.Models.SaisieChamp; using IO.Swagger.DTO; using IO.Swagger.ModelCollaborateur; using System.Collections.Generic; namespace EPAServeur.IServices { public interface ITransformDTO { #region Collaborateur // Collaborateur AgenceDTO GetAgenceDTO(Agence agence); BusinessUnitDTO GetBusinessUnitDTO(BU businessUnit); CollaborateurDTO GetCollaborateurDTO(ParticipationFormation participationFormation, IEnumerable collaborateurDTOs); #endregion #region Demande de délégation // DemandeDelegation DemandeDelegationDTO GetDemandeDelegationDTO(DemandeDelegation demande, CollaborateurDTO referent, IEnumerable collaborateurs); #endregion #region Engagement // Engagement EngagementDTO GetEngagementDTO(Engagement engagement, IEnumerable collaborateurDTOs); Engagement SetReponseEngagement(Engagement engagement, EngagementDTO engagementDTO); #endregion #region Formation // Formation FormationDTO GetFormationDTOWhitoutParticipationFormation(Formation formation); FormationDTO GetFormationDTO(Formation formation, IEnumerable collaborateurDTOs); FormationDetailsDTO GetFormationDetailsDTO(Formation formation); OrigineFormationDTO GetOrigineFormationDTO(OrigineFormation origineFormation); StatutFormationDTO GetStatutFormationDTO(StatutFormation statutFormation); ModeFormationDTO GetModeFormationDTO(ModeFormation modeFormation); TypeFormationDTO GetTypeFormationDTO(TypeFormation typeFormation); Formation SetFormation(Formation formation, FormationDTO formationDTO); OrigineFormation GetOrigineFormation(OrigineFormationDTO origineFormationDTO); StatutFormation GetStatutFormation(StatutFormationDTO statutFormationDTO); ModeFormation GetModeFormation(ModeFormationDTO modeFormationDTO); TypeFormation GetTypeFormation(TypeFormationDTO typeFormationDTO); #endregion #region Note // Note AffichageNoteDTO NoteToAffichageDTO(Note note, IEnumerable collaborateurs); DetailsNoteDTO NoteToDetailSDTO(Note note, CollaborateurDTO collaborateur); Note DetailsNoteDTOToNouvelleNote(DetailsNoteDTO detailsNoteDTO); #endregion #region Participation Formation // ParticipationFormation List GetParticipationsFormationDTO(List participationsFormation, IEnumerable collaborateurDTOs); ParticipationFormationDTO GetParticipationFormationDTO(ParticipationFormation participationFormation, IEnumerable collaborateurDTOs); EvaluationDTO GetEvaluationDTO(ParticipationFormation participationFormation); SaisieDTO GetSaisieDTO(Saisie saisie); ChampDTO GetChampDTO(Champ champ); Saisie GetSaisie(SaisieDTO saisieDTO); Champ GetChamp(ChampDTO champDTO); #endregion #region EP // EpInformation EpInformationDTO GetEpInformationDTO(Ep ep, IEnumerable collaborateurs); EpInformationDTO EpToEpDTO(Ep ep, IEnumerable collaborateurDTOs); // Récupération DetailsEP EpDTO EpToEpDetails(Ep ep, IEnumerable collaborateurDTOs); DemandeEPIDTO GetDemandeEPIDTO(DemandeEPI demande, IEnumerable collaborateurDTOs); AugmentationSalaireDTO GetAugmentationSalaireDTO(AugmentationSalaire augmentation); DemandeDelegationDTO GetDemandeDelegationDTO(DemandeDelegation demandeDelegation, IEnumerable collaborateurDTOs); RDVEntretienDTO GetRDVEntretienDTO(RdvEntretien rdvEntretien); TypeEntretienDTO GetEntretienDTO(ChoixTypeEntretien choixTypeEntretien); DemandeFormationDTO GetDemandeFormationDTOEP(DemandeFormation demandeFormation); DocumentDTO GetDocumentDTO(Document document); ObjectifDTO GetObjectifDTO(Objectif objectif); ObjectifPrecedentDTO GetObjectifPrecedentDTO(ObjectifPrecedent objectifPrecedent); CommentaireAssistant GetCommentaireAssistant(CommentaireAssistant commentaireAssistant); #endregion } }