Example #1
0
 public UnitOfWork(ModelArchContext context)
 {
     _dbContext = context;
 }
 public GenericRepository(ModelArchContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }