问题描述 asp.net mvc 购物网站 购物车 public class Cart { public int CartID { get; set; } private List lineCollection = new List(); public void AddItem(Product product, int quantity) { CartLine line = lineCollection .Where(p => p.Product.ProductID == product.Pro