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