From 560792a66dee428c2da2bb9df2c887bd4a138d3f Mon Sep 17 00:00:00 2001 From: Marco Audiffredi Date: Thu, 8 May 2025 16:43:19 +0200 Subject: [PATCH] salvataggio timesheet per Gitoga e Lifta --- ApiPolo/Controllers/PoloController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ApiPolo/Controllers/PoloController.cs b/ApiPolo/Controllers/PoloController.cs index d0b2449..0500d31 100644 --- a/ApiPolo/Controllers/PoloController.cs +++ b/ApiPolo/Controllers/PoloController.cs @@ -2177,6 +2177,8 @@ namespace ApiPolo.Controllers _timbrature = _Sys_timbr.Timbr; break; case Clienti.Marrocco: + case Clienti.Gitoga: + case Clienti.Lifta: _timbrature = _Marro_timbr.Timbr; break; default: @@ -12315,7 +12317,9 @@ namespace ApiPolo.Controllers transactionsys.Commit(); } break; - case Clienti.Marrocco: + case Clienti.Marrocco: + case Clienti.Gitoga: + case Clienti.Lifta: using (var transactionMarro = _Marro_timbr.Database.BeginTransaction()) { await _Marro_timbr.Timbr.AddAsync(t);