public ConfigRepository(FootballEntities context) { this.context = context; }
public TeamRepository(FootballEntities context) { this.context = context; }
public FootballRepository(FootballEntities context) { this.context = context; InitialiseRepositories(); }
public PlayerMatchRepository(FootballEntities context) { this.context = context; }
public void Refresh() { if (context == null) return; context.Dispose(); context = new FootballEntities(); InitialiseRepositories(); }