Beispiel #1
0
 public virtual bool Add(Book book)
 {
     book._Id = ++Id;
     if (book.Check())
     {
         _bookBase.Add(book);
         return true;
     }
     else
         return false;
 }
Beispiel #2
0
 public virtual bool Remove(Book book)
 {
     throw new System.NotImplementedException();
 }
Beispiel #3
0
 public virtual bool Add(Book Book)
 {
     throw new System.NotImplementedException();
 }
Beispiel #4
0
 public virtual bool Change(Book book)
 {
     _bookBase[book._Id] = book;
     return true;
 }
Beispiel #5
0
 public virtual bool Remove(Book book)
 {
     _bookBase.Remove(book);
     return true;
 }