diff --git a/EPAServeur/IServices/IEpDetailsService.cs b/EPAServeur/IServices/IEpDetailsService.cs new file mode 100644 index 0000000..0fd49e2 --- /dev/null +++ b/EPAServeur/IServices/IEpDetailsService.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 GetEp(long id); + Task UpdateEP(long idEp, EpDTO ep); + void SupprimerEP(long idEp); + void RappelSignature(long idEp); + Task UpdateSaisie(long idEp, EpDTO ep); + Task SaisirEPCollaborateur(Guid? idCollaborateur); + Task SaisirEPReferent(long idEp); + + } +} diff --git a/EPAServeur/Services/EpDetailsService.cs b/EPAServeur/Services/EpDetailsService.cs new file mode 100644 index 0000000..8da37fa --- /dev/null +++ b/EPAServeur/Services/EpDetailsService.cs @@ -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 GetEp(long id) + { + throw new NotImplementedException(); + } + + public void RappelSignature(long idEp) + { + throw new NotImplementedException(); + } + + public Task SaisirEPCollaborateur(Guid? idCollaborateur) + { + throw new NotImplementedException(); + } + + public Task SaisirEPReferent(long idEp) + { + throw new NotImplementedException(); + } + + public void SupprimerDonneesEPCollaborateur(Guid? idCollaborateur) + { + throw new NotImplementedException(); + } + + public void SupprimerEP(long idEp) + { + throw new NotImplementedException(); + } + + public Task UpdateEP(long idEp, EpDTO ep) + { + throw new NotImplementedException(); + } + + public Task UpdateSaisie(long idEp, EpDTO ep) + { + throw new NotImplementedException(); + } + } +} diff --git a/EPAServeur/Startup.cs b/EPAServeur/Startup.cs index aec2766..4532065 100644 --- a/EPAServeur/Startup.cs +++ b/EPAServeur/Startup.cs @@ -125,6 +125,7 @@ namespace EPAServeur services.AddScoped(); services.AddScoped(); services.AddScoped(); + services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped();