Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<SqlOnlyCostModel> costat = new List<SqlOnlyCostModel>();
- foreach (var QuantityItem in all)
- {
- int maxQtd = all.Max(x => x.QuantityItem);
- decimal maxPrice = all.Max(x => x.UnitPrice);
- string nCurrency = all.Max(x => x.Currency);
- string nCost = all.Max(x => x.Currency);
- }
- _dbEngContext.SaveChanges();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement