public Repository(FootballLeagueContext _context) { this._context = _context; table = _context.Set <T>(); }
public Repository() { this._context = new FootballLeagueContext(); table = _context.Set <T>(); }