Aggiunto conteggio offerte/ordini di Dealer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user