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