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