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