Esempio n. 1
0
 public UnitOfWork(TravelHelperDbContext dbContext, IRepositoryFactory repositoryFactory)
 {
     _dbContext         = dbContext;
     _repositoryFactory = repositoryFactory;
 }
Esempio n. 2
0
 public RoleRepository(TravelHelperDbContext dbContext)
     : base(dbContext)
 {
     _roleDbSet = dbContext.Set <Role>();
 }