|
|
@ -0,0 +1,39 @@ |
|
|
|
|
|
|
|
using EPAServeur.Context; |
|
|
|
|
|
|
|
using EPAServeur.IServices; |
|
|
|
|
|
|
|
using IO.Swagger.ApiCollaborateur; |
|
|
|
|
|
|
|
using IO.Swagger.DTO; |
|
|
|
|
|
|
|
using System; |
|
|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace EPAServeur.Services |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
public class DemandeDelegationService : IDemandeDelegationService |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
#region variables |
|
|
|
|
|
|
|
private EpContext context; |
|
|
|
|
|
|
|
private ICollaborateurApi collaborateurAPI; |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region constructeur |
|
|
|
|
|
|
|
public DemandeDelegationService(ICollaborateurApi _collaborateurApi, EpContext _context) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
context = _context; |
|
|
|
|
|
|
|
collaborateurAPI = _collaborateurApi; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region services async |
|
|
|
|
|
|
|
public async Task<IEnumerable<DemandeDelegationDTO>> RecupererDemandesDelegation(Guid? idReferent) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
throw new NotImplementedException(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public async Task<DemandeDelegationDTO> UpdateDemandeDelegation(long id, DemandeDelegationDTO demandeDelegationDTO) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
throw new NotImplementedException(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |