Beispiel #1
0
 /// <summary>
 /// Updates the information about a book in the database
 /// </summary>
 /// <returns>The updated information about the book</returns>
 public Book Update(Book bookDetails)
 {
     return _genericRepository.Update(bookDetails);
 }
Beispiel #2
0
 /// <summary>
 ///     Adds the book to the Database
 /// </summary>
 /// <returns>
 ///     The book with the newly created Id
 /// </returns>
 public Book Create(Book bookDetails)
 {
     return _genericRepository.Create(bookDetails);
 }