예제 #1
0
 public BookRepository(BookDBContext db)
 {
     this.db = db;
 }
예제 #2
0
 public UnitOfWork()
 {
     db = new BookDBContext();
     BookRepository = new BookRepository(db);
 }