// TODO: ask about UnitOfWork and Imapper public BookService(IUnitOfWork unitOfWork, IMapper mapper, IHistoryLogHandler <Book> historyLogHandler) { this.unitOfWork = unitOfWork; this.mapper = mapper; this.historyLogHandler = historyLogHandler; }
//TODO: Check ctor ApplicationDbContext public ApplicationDbContext(DbContextOptions <ApplicationDbContext> dbContextOptions, IHistoryLogHandler <Book> historyLogHandler) : base(dbContextOptions) { this.historyLogHandler = historyLogHandler; }