示例#1
0
 public override void RemoveLine(Book book)
 {
     base.RemoveLine(book);
     Session.SetJson("Cart", this);
 }
示例#2
0
 public override void AddItem(Book book, int quantity)
 {
     base.AddItem(book, quantity);
     Session.SetJson("Cart", this);
 }
示例#3
0
 public virtual void RemoveLine(Book proj) =>
 Lines.RemoveAll(x => x.Book.BookId == proj.BookId);
示例#4
0
 internal void RemoveItem(Book book)
 {
     throw new NotImplementedException();
 }
示例#5
0
 //method for removal
 public virtual void RemoveLine(Book book) =>
 Lines.RemoveAll(x => x.Book.BookId == book.BookId);