Aggiunto check force deroga
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using MP.Data.DatabaseModels;
|
||||
using MP.Data.Objects;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -1248,6 +1249,23 @@ namespace MP.Data.Controllers
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
public bool SetDerogaSt(StCheckOverride deroga)
|
||||
{
|
||||
bool fatto = false;
|
||||
#if false
|
||||
try
|
||||
{
|
||||
string keyDerogaST = memLayer.ML.redHash($"DerogaSt:{user_std.UtSn.utente}:{deroga.IdxST:000}");
|
||||
string rawData = JsonConvert.SerializeObject(deroga);
|
||||
memLayer.ML.setRSV(keyDerogaST, rawData, 60 * 2);
|
||||
fatto = true;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
#endif
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco causali scarto
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user