|
|
|
|
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);
|
|
|
|
|
IEnumerable<CollaborateurDTO> GetCollaborateurs(List<string> roles, List<long?> idBUs, bool? asc, int? numPage, int? parPAge, string texte, string tri, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
Task<IEnumerable<CollaborateurDTO>> GetCollaborateursAsync(List<string> roles, List<long?> idBUs, bool? asc, int? numPage, int? parPAge, string texte, string tri, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
int GetCollaborateursCount(List<string> roles, List<long?> idBUs, string texte, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
Task<int> GetCollaborateursCountAsync(List<string> roles, List<long?> idBUs, string texte, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
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);
|
|
|
|
|
int GetCollaborateursCountByReferent(Guid? idReferent, string texte);
|
|
|
|
|
Task<int> GetCollaborateursCountByReferentAsync(Guid? idReferent, string texte);
|
|
|
|
|
IEnumerable<CollaborateurDTO> GetReferentsPrecedentsEP(Guid? idCollaborateur);
|
|
|
|
|
Task<IEnumerable<CollaborateurDTO>> GetReferentsPrecedentsEPAsync(Guid? idCollaborateur);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|