Beispiel #1
0
 public void AddBookState(BookState bookState)
 {
     DataContext.BookStatesList.Add(bookState);
 }
Beispiel #2
0
 public BookReturn(Reader reader, BookState bookState) : base(reader, bookState)
 {
     bookState.Available = true;
 }
Beispiel #3
0
 protected BookEvent(Reader reader, BookState bookState) : this(reader, bookState, DateTime.Now)
 {
 }
Beispiel #4
0
 public BookRent(Reader reader, BookState bookState, DateTime dateTime) : base(reader, bookState, dateTime)
 {
     bookState.Available = false;
 }
Beispiel #5
0
 protected BookEvent(Reader reader, BookState bookState, DateTime dateTime)
 {
     Reader    = reader;
     BookState = bookState;
     EventTime = dateTime;
 }