/// <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); }
/// <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); }