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); }
public virtual void RemoveLine(Games game) => lineCollection.RemoveAll(l => l.Game.ID == game.ID);