/// <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);
        }
Example #2
0
 public BookBL(IBookRL bookRL)
 {
     this.bookRL = bookRL;
 }
Example #3
0
 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;
 }
Example #5
0
 public ImpBookManagerBL(IBookRL irepo)
 {
     this.irepo = irepo;
 }