public void Insert(Borrowing borrowing)
 {
     borrowing.Id = Generated.BorrowingId();
     borrowings.Add(borrowing);
 }
 public void Insert(Book book)
 {
     book.Id = Generated.BookId();
     books.Add(book);
 }
Пример #3
0
 public void Insert(User user)
 {
     user.Id = Generated.UserId();
     users.Add(user);
 }