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