Beispiel #1
0
 public Repository(BooksDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Beispiel #2
0
 public UnitOfWork(BooksDbContext context)
 {
     _context      = context;
     _repositories = new Dictionary <Type, object>();
 }