|
|
|
|
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
|
|
|
|
|
{
|
|
|
|
|
// Collaborateur
|
|
|
|
|
AgenceDTO GetAgenceDTO(Agence agence);
|
|
|
|
|
BusinessUnitDTO GetBusinessUnitDTO(BU businessUnit);
|
|
|
|
|
CollaborateurDTO GetCollaborateurDTO(ParticipationFormation participationFormation, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
CollaborateurDTO GetCollaborateurDTO(DemandeFormation demandeFormation, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
|
|
|
|
|
// DemandeDelegation
|
|
|
|
|
DemandeDelegationDTO GetDemandeDelegationDTO(DemandeDelegation demande, CollaborateurDTO referent, IEnumerable<CollaborateurDTO> collaborateurs);
|
|
|
|
|
|
|
|
|
|
// Engagement
|
|
|
|
|
EngagementDTO GetEngagementDTO(Engagement engagement, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
Engagement SetReponseEngagement(Engagement engagement, EngagementDTO engagementDTO);
|
|
|
|
|
|
|
|
|
|
// EpInformation
|
|
|
|
|
EpInformationDTO GetEpInformationDTO(Ep ep, IEnumerable<CollaborateurDTO> collaborateurs);
|
|
|
|
|
EpInformationDTO EpToEpDTO(Ep ep, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
|
|
|
|
|
// Formation
|
|
|
|
|
FormationDTO GetFormationDTOWhitoutParticipationFormation(Formation formation);
|
|
|
|
|
FormationDTO GetFormationDTO(Formation formation, IEnumerable<CollaborateurDTO> 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);
|
|
|
|
|
Formation GetFormation(FormationDetailsDTO formationDetailsDTO);
|
|
|
|
|
OrigineFormation GetOrigineFormation(OrigineFormationDTO origineFormationDTO);
|
|
|
|
|
StatutFormation GetStatutFormation(StatutFormationDTO statutFormationDTO);
|
|
|
|
|
ModeFormation GetModeFormation(ModeFormationDTO modeFormationDTO);
|
|
|
|
|
TypeFormation GetTypeFormation(TypeFormationDTO typeFormationDTO);
|
|
|
|
|
|
|
|
|
|
// Note
|
|
|
|
|
AffichageNoteDTO NoteToAffichageDTO(Note note, IEnumerable<Collaborateur> collaborateurs);
|
|
|
|
|
DetailsNoteDTO NoteToDetailSDTO(Note note, CollaborateurDTO collaborateur);
|
|
|
|
|
Note DetailsNoteDTOToNouvelleNote(DetailsNoteDTO detailsNoteDTO);
|
|
|
|
|
|
|
|
|
|
// ParticipationFormation
|
|
|
|
|
List<ParticipationFormationDTO> GetParticipationsFormationDTO(List<ParticipationFormation> participationsFormation, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
ParticipationFormationDTO GetParticipationFormationDTO(ParticipationFormation participationFormation, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
EvaluationDTO GetEvaluationDTO(ParticipationFormation participationFormation);
|
|
|
|
|
SaisieDTO GetSaisieDTO(Saisie saisie);
|
|
|
|
|
ChampDTO GetChampDTO(Champ champ);
|
|
|
|
|
Saisie GetSaisie(SaisieDTO saisieDTO);
|
|
|
|
|
Champ GetChamp(ChampDTO champDTO);
|
|
|
|
|
|
|
|
|
|
// DemandeFormation
|
|
|
|
|
DemandeFormationDTO GetDemandeFormationDTO(DemandeFormation demandeFormation, IEnumerable<CollaborateurDTO> collaborateurDTOs);
|
|
|
|
|
DemandeFormation SetDemandeFormationWithoutParticipationFormationAndEp(DemandeFormation demandeFormation, DemandeFormationDTO demandeFormationDTO);
|
|
|
|
|
OrigineDemandeFormationDTO GetOrigineDemandeFormationDTO(OrigineDemande origineDemande);
|
|
|
|
|
OrigineDemande GetOrigineDemandeFormation(OrigineDemandeFormationDTO origineDemandeDTO);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|