public BooksRepository(BookStoreDbContext context)
 {
     _context = context;
 }
예제 #2
0
 public UnitOfWork(BookStoreDbContext bookStoreDbContext)
 {
     this._context = bookStoreDbContext;
     this.Books    = new BooksRepository(_context);
 }