You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
2.4 KiB
40 lines
2.4 KiB
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<FormationDTO> GetFormationByIdAsync(long? idFormation);
|
|
IEnumerable<FormationDTO> GetFormations(bool? asc, int? numPage, int? parPAge, long? idAgence, int? statutFormation, string texte, string tri);
|
|
Task<IEnumerable<FormationDTO>> GetFormationsAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, int? statutFormation, string texte, string tri);
|
|
IEnumerable<FormationDTO> GetFormationAnnulees(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
Task<IEnumerable<FormationDTO>> GetFormationAnnuleesAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
IEnumerable<FormationDTO> GetFormationRealisees(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
Task<IEnumerable<FormationDTO>> GetFormationRealiseesAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
IEnumerable<FormationDTO> GetProchainesFormation(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
Task<IEnumerable<FormationDTO>> GetProchainesFormationAsync(bool? asc, int? numPage, int? parPAge, long? idAgence, string texte, string tri);
|
|
IEnumerable<ModeFormationDTO> GetModesFormation();
|
|
Task<IEnumerable<ModeFormationDTO>> GetModesFormationAsync();
|
|
IEnumerable<OrigineFormationDTO> GetOriginesFormation();
|
|
Task<IEnumerable<OrigineFormationDTO>> GetOriginesFormationAsync();
|
|
IEnumerable<StatutFormationDTO> GetStatutsFormation();
|
|
Task<IEnumerable<StatutFormationDTO>> GetStatutsFormationAsync();
|
|
IEnumerable<TypeFormationDTO> GetTypesFormation();
|
|
Task<IEnumerable<TypeFormationDTO>> GetTypesFormationAsync();
|
|
|
|
FormationDTO AddFormation(FormationDTO formationDTO);
|
|
Task<FormationDTO> AddFormationAsync(FormationDTO formationDTO);
|
|
FormationDTO UpdateFormation(long? idFormation, FormationDTO formationDTO);
|
|
Task<FormationDTO> UpdateFormationAsync(long? idFormation, FormationDTO formationDTO);
|
|
FormationDTO DeleteFormationById(long? idFormation);
|
|
Task<FormationDTO> DeleteFormationByIdAsync(long? idFormation);
|
|
|
|
}
|
|
}
|
|
|