public UnitOfWork(StackGameContext _context) { context = _context; }
public GenericRepository(StackGameContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }