a guest Nov 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- .Where(x => x.StockItemID == id)
- .GroupBy(x => x.CustomerID)
- .OrderByDescending(x => x.Sum(z => z.Quantity * -1))
RAW Paste Data