diff --git a/MP.IOC/Data/MpDataService.cs b/MP.IOC/Data/MpDataService.cs
index 5d90ab3d..74af58a3 100644
--- a/MP.IOC/Data/MpDataService.cs
+++ b/MP.IOC/Data/MpDataService.cs
@@ -2751,53 +2751,6 @@ namespace MP.IOC.Data
return result;
}
- ///
- /// Recupero PODL da IdxODL
- ///
- ///
- ///
- public PODLModel POdlGetByOdl(int idxODL)
- {
- PODLModel result = new PODLModel();
- if (idxODL != 0)
- {
- Stopwatch stopWatch = new Stopwatch();
- stopWatch.Start();
- string readType = "DB";
- string currKey = $"{Utils.redisPOdlByOdl}:{idxODL}";
- // cerco in redis dato valOut sel macchina...
- RedisValue rawData = redisDb.StringGet(currKey);
- if (rawData.HasValue)
- {
- var rawResult = JsonConvert.DeserializeObject($"{rawData}");
- if (rawResult != null)
- {
- result = rawResult;
- }
- readType = "REDIS";
- }
- else
- {
- result = SpecDbController.PODL_getByOdl(idxODL);
- // serializzo e salvo...
- rawData = JsonConvert.SerializeObject(result);
- redisDb.StringSet(currKey, rawData, getRandTOut(redisLongTimeCache));
- }
- if (result == null)
- {
- result = new PODLModel();
- }
- stopWatch.Stop();
- TimeSpan ts = stopWatch.Elapsed;
- Log.Trace($"POdlGetByOdl | Read from {readType}: {ts.TotalMilliseconds}ms");
- }
- else
- {
- Log.Debug("Errore IdxODL = 0");
- }
- return result;
- }
-
///
/// Elenco PODL non avviati filtrati x articolo, KeyRich (che contiene stato)
///