From fb9874bbf2dc668af36855c7794fc5edf904556e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli (W11-AI)" Date: Wed, 25 Mar 2026 11:15:00 +0100 Subject: [PATCH] Continuo fix commenti --- .../Services/Job/IJobStepService.cs | 21 +++++++++++++ .../Services/Job/IJobTaskService.cs | 26 ++++++++++++++++ .../Services/Job/IPhaseService.cs | 4 +++ .../Services/Job/JobStepService.cs | 25 +++------------ .../Services/Job/JobTaskService.cs | 31 +++---------------- 5 files changed, 60 insertions(+), 47 deletions(-) diff --git a/EgwCoreLib.Lux.Data/Services/Job/IJobStepService.cs b/EgwCoreLib.Lux.Data/Services/Job/IJobStepService.cs index 1c270d3a..c93d37a1 100644 --- a/EgwCoreLib.Lux.Data/Services/Job/IJobStepService.cs +++ b/EgwCoreLib.Lux.Data/Services/Job/IJobStepService.cs @@ -4,12 +4,33 @@ { #region Public Methods + /// + /// Eliminazione record + /// + /// + /// Task DeleteAsync(JobStepModel entity); + /// + /// Elenco JobStep per parent (jobID) + /// + /// ID Job padre + /// Task> GetByParentAsync(int jobID); + /// + /// Sposta record JobStep (up/down) + /// + /// Record da spostare + /// true per muovi su, false per giù + /// Task MoveAsync(JobStepModel selRec, bool moveUp); + /// + /// Upsert record JobStep (aggiorna o inserisce) + /// + /// + /// Task UpsertAsync(JobStepModel upsRec); #endregion Public Methods diff --git a/EgwCoreLib.Lux.Data/Services/Job/IJobTaskService.cs b/EgwCoreLib.Lux.Data/Services/Job/IJobTaskService.cs index 32fc349a..8a44c04e 100644 --- a/EgwCoreLib.Lux.Data/Services/Job/IJobTaskService.cs +++ b/EgwCoreLib.Lux.Data/Services/Job/IJobTaskService.cs @@ -4,14 +4,40 @@ { #region Public Methods + /// + /// Eliminazione record + /// + /// + /// Task DeleteAsync(JobTaskModel entity); + /// + /// Elenco completo JobTask da DB + /// + /// Task> GetAllAsync(); + /// + /// Unisci tag a JobTask + /// + /// ID Job + /// Lista di tag richiesti + /// Task MergeTagsAsync(int JobID, List reqTagList); + /// + /// Sposta record JobTask (up/down) + /// + /// Record da spostare + /// true per muovi su, false per giù + /// Task MoveAsync(JobTaskModel selRec, bool moveUp); + /// + /// Upsert record JobTask (aggiorna o inserisce) + /// + /// + /// Task UpsertAsync(JobTaskModel upsRec); #endregion Public Methods diff --git a/EgwCoreLib.Lux.Data/Services/Job/IPhaseService.cs b/EgwCoreLib.Lux.Data/Services/Job/IPhaseService.cs index bf589dcc..0c624566 100644 --- a/EgwCoreLib.Lux.Data/Services/Job/IPhaseService.cs +++ b/EgwCoreLib.Lux.Data/Services/Job/IPhaseService.cs @@ -2,6 +2,10 @@ { public interface IPhaseService { + /// + /// Elenco completo Phase da DB + /// + /// Task> GetAllAsync(); } } diff --git a/EgwCoreLib.Lux.Data/Services/Job/JobStepService.cs b/EgwCoreLib.Lux.Data/Services/Job/JobStepService.cs index f36ffe75..02d665f3 100644 --- a/EgwCoreLib.Lux.Data/Services/Job/JobStepService.cs +++ b/EgwCoreLib.Lux.Data/Services/Job/JobStepService.cs @@ -17,11 +17,7 @@ #region Public Methods - /// - /// Eliminazione record - /// - /// - /// + /// public async Task DeleteAsync(JobStepModel rec2del) { return await TraceAsync($"{_className}.Delete", async (activity) => @@ -42,11 +38,7 @@ }); } - /// - /// Elenco JobStep per parent (jobID) - /// - /// - /// + /// public async Task> GetByParentAsync(int jobID) { return await TraceAsync($"{_className}.GetByParent", async (activity) => @@ -59,12 +51,7 @@ }); } - /// - /// Sposta record JobStep (up/down) - /// - /// - /// - /// + /// public async Task MoveAsync(JobStepModel selRec, bool moveUp) { return await TraceAsync($"{_className}.Move", async (activity) => @@ -89,11 +76,7 @@ }); } - /// - /// Upsert record JobStep (aggiorna o inserisce) - /// - /// - /// + /// public async Task UpsertAsync(JobStepModel upsRec) { return await TraceAsync($"{_className}.Upsert", async (activity) => diff --git a/EgwCoreLib.Lux.Data/Services/Job/JobTaskService.cs b/EgwCoreLib.Lux.Data/Services/Job/JobTaskService.cs index 53dfe9a5..a4287012 100644 --- a/EgwCoreLib.Lux.Data/Services/Job/JobTaskService.cs +++ b/EgwCoreLib.Lux.Data/Services/Job/JobTaskService.cs @@ -17,11 +17,7 @@ #region Public Methods - /// - /// Eliminazione record - /// - /// - /// + /// public async Task DeleteAsync(JobTaskModel rec2del) { return await TraceAsync($"{_className}.Delete", async (activity) => @@ -42,10 +38,7 @@ }); } - /// - /// Elenco completo JobTask da DB - /// - /// + /// public async Task> GetAllAsync() { return await TraceAsync($"{_className}.GetAll", async (activity) => @@ -58,12 +51,7 @@ }); } - /// - /// Unisci tag a JobTask - /// - /// - /// Lista di tag richiesti - /// + /// public async Task MergeTagsAsync(int JobID, List reqTagList) { return await TraceAsync($"{_className}.MergeTags", async (activity) => @@ -88,12 +76,7 @@ }); } - /// - /// Sposta record JobTask (up/down) - /// - /// - /// - /// + /// public async Task MoveAsync(JobTaskModel selRec, bool moveUp) { return await TraceAsync($"{_className}.Move", async (activity) => @@ -118,11 +101,7 @@ }); } - /// - /// Upsert record JobTask (aggiorna o inserisce) - /// - /// - /// + /// public async Task UpsertAsync(JobTaskModel upsRec) { return await TraceAsync($"{_className}.Upsert", async (activity) =>