public BookRepository(BookDBContext db) { this.db = db; }
public UnitOfWork() { db = new BookDBContext(); BookRepository = new BookRepository(db); }