public override void AddItem(Games game, int quantity)
 {
     base.AddItem(game, quantity);
     Session.SetJson("Cart", this);
 }
 public override void RemoveLine(Games game)
 {
     base.RemoveLine(game);
     Session.SetJson("Cart", this);
 }
Example #3
0
 public virtual void RemoveLine(Games game) => lineCollection.RemoveAll(l => l.Game.ID == game.ID);