iniziata riscrittura metodi acesso dataLayer (tolto singleton)

This commit is contained in:
Samuele E. Locatelli
2020-08-19 15:59:48 +02:00
parent 0e0fa68440
commit 38e071e5be
5 changed files with 75 additions and 43 deletions
@@ -13,7 +13,7 @@ namespace NKC_WF.WebUserControls
{
// mostra button x collezionare Redo SOLO SE ci sono fogli da rilavorare...
int numRedo = 0;
var stList = DataLayer.man.taSTL.getByBatch(BatchId);
var stList = DLMan.taSTL.getByBatch(BatchId);
foreach (var item in stList)
{
numRedo += item.NumSheetsToRedo;
@@ -64,7 +64,7 @@ namespace NKC_WF.WebUserControls
protected void lbtCollectRedo_Click(object sender, EventArgs e)
{
// chiamo stored x sistemare
DataLayer.man.taBL.fixRedoSheet(BatchId);
DLMan.taBL.fixRedoSheet(BatchId);
doUpdate();
}
@@ -76,7 +76,7 @@ namespace NKC_WF.WebUserControls
protected void lbtCollectRedoOnEnd_Click(object sender, EventArgs e)
{
// chiamo stored x sistemare
DataLayer.man.taBL.fixRedoSheetOnEnd(BatchId);
DLMan.taBL.fixRedoSheetOnEnd(BatchId);
doUpdate();
}