|
|
|
|
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
|
|
|
|
|
{
|
|
|
|
|
Task<FormationDTO> GetFormationByIdAsync(long idFormation);
|
|
|
|
|
Task<IEnumerable<FormationDetailsDTO>> GetFormationsAsync(long? idAgence, List<int?> idStatuts, bool? asc, int? numPage, int? parPage, string texte, string tri, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
Task<long> GetFormationsCountAsync(long? idAgence, List<int?> idStatuts, string texte, DateTime? dateDebut, DateTime? dateFin);
|
|
|
|
|
Task<IEnumerable<ModeFormationDTO>> GetModesFormationAsync();
|
|
|
|
|
Task<IEnumerable<OrigineFormationDTO>> GetOriginesFormationAsync();
|
|
|
|
|
Task<IEnumerable<StatutFormationDTO>> GetStatutsFormationAsync();
|
|
|
|
|
Task<IEnumerable<TypeFormationDTO>> GetTypesFormationAsync();
|
|
|
|
|
|
|
|
|
|
Task<FormationDTO> AddFormationAsync(FormationDTO formationDTO);
|
|
|
|
|
Task<FormationDTO> UpdateFormationAsync(long idFormation, FormationDTO formationDTO);
|
|
|
|
|
Task<FormationDTO> DeleteFormationByIdAsync(long idFormation);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|