/// <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 BookBL(IBookRL bookRL) { this.bookRL = bookRL; }
public BookBL(IBookRL bookManagementRL, IConfiguration config) { cloudinary = new CloudinaryBL(config); this.bookManagementRL = bookManagementRL; }
/// <summary> /// Initializes a new instance of the <see cref="BookBL"/> class. /// </summary> /// <param name="bookRepository">It contains the object IbookRepository</param> public BookBL(IBookRL bookRepository) { this.bookRepository = bookRepository; }
public ImpBookManagerBL(IBookRL irepo) { this.irepo = irepo; }