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.
26 lines
1.1 KiB
26 lines
1.1 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
|
|
{
|
|
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);
|
|
|
|
}
|
|
}
|
|
|