Пример #1
0
 public override void AddItem(Furniture furniture, int quantity)
 {
     base.AddItem(furniture, quantity);
     Session.SetJson("Cart", this);
 }
Пример #2
0
 public override void RemoveLine(Furniture furniture)
 {
     base.RemoveLine(furniture);
     Session.SetJson("Cart", this);
 }
Пример #3
0
 public virtual void RemoveLine(Furniture furniture) =>
 lineCollection.RemoveAll(l => l.Furniture.FurnitureID == furniture.FurnitureID);