public BooksApiController(IBookBL _bookBL, IAuthorBL _authorBL, IISBNBL _isbnBL, IReaderBL _readerBL) { bookBL = _bookBL; authorBL = _authorBL; isbnBL = _isbnBL; readerBL = _readerBL; }
/// <summary> /// Initializes the instances for test cases /// </summary> public BookTestCases() { IConfigurationBuilder configurationBuilder = new ConfigurationBuilder(); configurationBuilder.AddJsonFile("appsettings.json"); this.configuration = configurationBuilder.Build(); this.bookRL = new BookRL(this.configuration); this.bookBL = new BookBL(this.bookRL); this.bookController = new BookController(this.bookBL); }
public BookController(IBookBL bookBL) { this.bookBL = bookBL; }
public BookController(IBookBL bookBL) { _bookBL = bookBL; }
public BookController(IBookBL bookBuiseness) { this.bookBuiseness = bookBuiseness; }
public BookController(IBookBL bookManagementBL) { this.bookManagementBL = bookManagementBL; }