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