Compeltamento aggiornamento datalayer
This commit is contained in:
@@ -70,7 +70,7 @@ namespace MP_IO.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.lg.scriviLog($"addTask2Exe: impossibile riconoscere il comando {taskName} come uno deitipi ammessi, NON aggiunto", tipoLog.ERROR);
|
||||
logger.lg.scriviLog($"addTask2Exe: impossibile riconoscere il comando {taskName} come uno dei tipi ammessi, NON aggiunto", tipoLog.ERROR);
|
||||
}
|
||||
answ = getTask2Exe(id);
|
||||
}
|
||||
@@ -685,7 +685,7 @@ namespace MP_IO.Controllers
|
||||
try
|
||||
{
|
||||
DataLayer DataLayerObj = new DataLayer();
|
||||
// deserializzo.
|
||||
// deserializzo
|
||||
currParams = DataLayerObj.getCurrObjItems(id);
|
||||
// se != null --> salvo!
|
||||
if (currParams != null)
|
||||
@@ -695,7 +695,7 @@ namespace MP_IO.Controllers
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Errore in getCurrParams{Environment.NewLine}{exc}");
|
||||
logger.lg.scriviLog($"Errore in getObjItems{Environment.NewLine}{exc}");
|
||||
answ = "NO";
|
||||
}
|
||||
}
|
||||
@@ -722,7 +722,7 @@ namespace MP_IO.Controllers
|
||||
try
|
||||
{
|
||||
DataLayer DataLayerObj = new DataLayer();
|
||||
// deserializzo.
|
||||
// deserializzo
|
||||
currParams = DataLayerObj.getCurrObjItemsPendigWrite(id);
|
||||
// se != null --> salvo!
|
||||
if (currParams != null)
|
||||
@@ -1348,7 +1348,7 @@ namespace MP_IO.Controllers
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Errore in setCurrParams{Environment.NewLine}{exc}");
|
||||
logger.lg.scriviLog($"Errore in upsertObjItems{Environment.NewLine}{exc}");
|
||||
answ = "NO";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user