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? id); IEnumerable GetFormations(bool? asc, int? numPage, int? parPAge, int? idAgence, string texte, string tri); IEnumerable GetFormationAnnulees(bool? asc, int? numPage, int? parPAge, int? idAgence, string texte, string tri); IEnumerable GetFormationRealisee(bool? asc, int? numPage, int? parPAge, int? idAgence, string texte, string tri); IEnumerable GetProchainesFormation(bool? asc, int? numPage, int? parPAge, int? idAgence, string texte, string tri); IEnumerable GetModesFormation(); IEnumerable GetOriginesFormation(); IEnumerable GetStatutsFormation(); IEnumerable GetTypesFormation(); FormationDTO AddFormation(FormationDTO formationDTO); FormationDTO UpdateFormation(FormationDTO formationDTO); bool DeleteFormationById(long? id); } }