Aggiunto conteggio offerte/ordini di Dealer

This commit is contained in:
Annamaria Sassi
2026-05-29 13:26:22 +02:00
parent 2da9ad46ae
commit 857bbbcb53
4 changed files with 32 additions and 0 deletions
@@ -42,6 +42,7 @@
return await dbCtx.DbSetDealer
.AsNoTracking()
.Include(o => o.OfferNav)
.Include(o => o.OrderNav)
.ToListAsync();
}
@@ -52,6 +53,7 @@
return await dbCtx.DbSetDealer
.Where(x => x.DealerID == DealerID)
.Include(o => o.OfferNav)
.Include(o => o.OrderNav)
.FirstOrDefaultAsync();
}