|
|
|
|
using EPAServeur.Context;
|
|
|
|
|
using IO.Swagger.DTO;
|
|
|
|
|
using IO.Swagger.ModelCollaborateur;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Reflection.Metadata;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace EPAServeur.IServices
|
|
|
|
|
{
|
|
|
|
|
public interface ICollaborateurService
|
|
|
|
|
{
|
|
|
|
|
CollaborateurDTO GetCollaborateurById(Guid? id);
|
|
|
|
|
Task<CollaborateurDTO> GetCollaborateurByIdAsync(Guid? id);
|
|
|
|
|
CollaborateurDTO GetCollaborateurByMail(string mail);
|
|
|
|
|
Task<CollaborateurDTO> GetCollaborateurByMailAsync(string mail);
|
|
|
|
|
ProfilDTO GetProfilById(Guid? idCollaborateur);
|
|
|
|
|
Task<ProfilDTO> GetProfilByIdAsync(Guid? idCollaborateur);
|
|
|
|
|
ProfilDTO GetProfilByMail(string mail);
|
|
|
|
|
Task<ProfilDTO> GetProfilByMailAsync(string mail);
|
|
|
|
|
IEnumerable<CollaborateurDTO> GetCollaborateurs(bool? asc, int? numPage, int? parPage, List<string> fonctions, long? idAgence, long? idBU, string texte, string tri);
|
|
|
|
|
Task<IEnumerable<CollaborateurDTO>> GetCollaborateursAsync(bool? asc, int? numPage, int? parPage, List<string> fonctions, long? idAgence, long? idBU, string texte, string tri);
|
|
|
|
|
IEnumerable<CollaborateurDTO> GetCollaborateursByReferent(Guid? idReferent, bool? asc, int? numPage, int? parPage, string texte, string tri);
|
|
|
|
|
Task<IEnumerable<CollaborateurDTO>> GetCollaborateursByReferentAsync(Guid? idReferent, bool? asc, int? numPage, int? parPage, string texte, string tri);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|