public BookBusiness() { generator = new ContextGenerator(libraryContext, false); booksGenresBusiness = new BooksGenresBusiness(); }
public BookBusiness(LibraryContext context) { libraryContext = context; generator = new ContextGenerator(context, true); booksGenresBusiness = new BooksGenresBusiness(context); }