using EPAServeur.Context; using IO.Swagger.DTO; using IO.Swagger.ModelCollaborateur; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EPAServeur.IServices { public interface IFormationService { FormationDTO GetFormationById(long? idFormation); Task GetFormationByIdAsync(long? idFormation); IEnumerable GetFormations(bool? asc, int? numPage, int? parPAge, long? idAgence, int? statutFormation, string texte, string tri); Task> GetFormationsAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, int? statutFormation, string texte, string tri); IEnumerable GetFormationAnnulees(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); Task> GetFormationAnnuleesAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); IEnumerable GetFormationRealisees(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); Task> GetFormationRealiseesAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); IEnumerable GetProchainesFormation(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); Task> GetProchainesFormationAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri); IEnumerable GetModesFormation(); Task> GetModesFormationAsync(); IEnumerable GetOriginesFormation(); Task> GetOriginesFormationAsync(); IEnumerable GetStatutsFormation(); Task> GetStatutsFormationAsync(); IEnumerable GetTypesFormation(); Task> GetTypesFormationAsync(); FormationDTO AddFormation(FormationDTO formationDTO); Task AddFormationAsync(FormationDTO formationDTO); FormationDTO UpdateFormation(long? idFormation, FormationDTO formationDTO); Task UpdateFormationAsync(long? idFormation, FormationDTO formationDTO); FormationDTO DeleteFormationById(long? idFormation); Task DeleteFormationByIdAsync(long? idFormation); } }