public BookBO NewBook(string _title, int _seriesID_FK) { int _bookID = dataContext.AddBook(_title, _seriesID_FK); BookBO rval = new BookBO(); rval.BookID = _bookID; rval.Title = _title; rval.SeriesID_FK = _seriesID_FK; return(rval); }
public void DeleteBook(BookBO book) { DeleteBook(book.BookID); }
public void UpdateBook(BookBO book) { dataContext.UpdateBook(book.BookID, book.Title, book.SeriesID_FK); }