Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 public BookBL(IBookRL bookRL)
 {
     this.bookRL = bookRL;
 }
Exemplo n.º 3
0
 public BookBL(IBookRL bookManagementRL, IConfiguration config)
 {
     cloudinary            = new CloudinaryBL(config);
     this.bookManagementRL = bookManagementRL;
 }
Exemplo n.º 4
0
 /// <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;
 }
Exemplo n.º 5
0
 public ImpBookManagerBL(IBookRL irepo)
 {
     this.irepo = irepo;
 }