public void CalculateTotal() { CartItems.ForEach(x => { TotalAmount += Pricing.Price(x.Key) * x.Count; }); }