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