public UnitOfWork() { context = new NhlContext(); }
public BaseRepository(NhlContext context) { this.context = context; dbset = context.Set <TEntity>(); }