Ajout du service pour gérer les détails des EP

develop
Yanaël GRETTE 4 years ago
parent 838bc44b08
commit ee742082fe
  1. 21
      EPAServeur/IServices/IEpDetailsService.cs
  2. 53
      EPAServeur/Services/EpDetailsService.cs
  3. 1
      EPAServeur/Startup.cs

@ -0,0 +1,21 @@
using IO.Swagger.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EPAServeur.IServices
{
public interface IEpDetailsService
{
void SupprimerDonneesEPCollaborateur(Guid? idCollaborateur);
Task<EpDTO> GetEp(long id);
Task<EpDTO> UpdateEP(long idEp, EpDTO ep);
void SupprimerEP(long idEp);
void RappelSignature(long idEp);
Task<EpDTO> UpdateSaisie(long idEp, EpDTO ep);
Task<EpDTO> SaisirEPCollaborateur(Guid? idCollaborateur);
Task<EpDTO> SaisirEPReferent(long idEp);
}
}

@ -0,0 +1,53 @@
using EPAServeur.IServices;
using IO.Swagger.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EPAServeur.Services
{
public class EpDetailsService : IEpDetailsService
{
public Task<EpDTO> GetEp(long id)
{
throw new NotImplementedException();
}
public void RappelSignature(long idEp)
{
throw new NotImplementedException();
}
public Task<EpDTO> SaisirEPCollaborateur(Guid? idCollaborateur)
{
throw new NotImplementedException();
}
public Task<EpDTO> SaisirEPReferent(long idEp)
{
throw new NotImplementedException();
}
public void SupprimerDonneesEPCollaborateur(Guid? idCollaborateur)
{
throw new NotImplementedException();
}
public void SupprimerEP(long idEp)
{
throw new NotImplementedException();
}
public Task<EpDTO> UpdateEP(long idEp, EpDTO ep)
{
throw new NotImplementedException();
}
public Task<EpDTO> UpdateSaisie(long idEp, EpDTO ep)
{
throw new NotImplementedException();
}
}
}

@ -125,6 +125,7 @@ namespace EPAServeur
services.AddScoped<ITransformDTO, TransformDTO>(); services.AddScoped<ITransformDTO, TransformDTO>();
services.AddScoped<ICollaborateurService, CollaborateurService>(); services.AddScoped<ICollaborateurService, CollaborateurService>();
services.AddScoped<IEpInformationService, EpInformationService>(); services.AddScoped<IEpInformationService, EpInformationService>();
services.AddScoped<IEpDetailsService, EpDetailsService>();
services.AddScoped<IFormationService, FormationService>(); services.AddScoped<IFormationService, FormationService>();
services.AddScoped<IParticipationFormationService, ParticipationFormationService>(); services.AddScoped<IParticipationFormationService, ParticipationFormationService>();
services.AddScoped<INoteService, NoteService>(); services.AddScoped<INoteService, NoteService>();

Loading…
Cancel
Save