Exemplo n.º 1
0
 public Repository(IUnitOfWork unitOfWork)
 {
     _uow = unitOfWork;
     _db  = _uow.TestRepoDB;
     data = _db.Set <T>();
 }
 public UnitOfWork(TestRepoDB testRepoDB) => this.TestRepoDB = testRepoDB;