- blocco display durante freeze update info
This commit is contained in:
Samuele Locatelli
2025-04-08 18:27:20 +02:00
parent 7e91f23ddb
commit a95447e355
7 changed files with 33 additions and 20 deletions
+3
View File
@@ -1195,11 +1195,14 @@ namespace MP.Data.Services
public async Task<bool> InsManFreezeDay(string idxMacchina, DateTime dtCurr)
{
bool fatto = false;
Log.Info($"Inizio InsManFreezeDay | idxMacchina: {idxMacchina}");
// salvo
fatto = dbTabController.InsManFreezeDay(idxMacchina, dtCurr);
Log.Info($"Fine stored | idxMacchina: {idxMacchina}");
// svuoto cache
RedisValue pattern = $"{redisBaseKey}:InsMan:*";
await ExecFlushRedisPatternAsync(pattern);
Log.Info($"Fine InsManFreezeDay | idxMacchina: {idxMacchina}");
return fatto;
}