public LegionTdController(LegionTdContext context, SteamApi steamApi, IMemoryCache cache, IConfiguration configuration) { _db = context; _cache = cache; _steamApi = steamApi; _dedicatedServerKey = configuration["dedicatedServerKey"]; }
private static IQueryable <Player> GetFullPlayerQueryable(LegionTdContext context) { return(context.Players .Include(p => p.Matches) .ThenInclude(m => m.Fraction) .Include(p => p.Matches) .ThenInclude(m => m.Match) .AsNoTracking()); }
public BugReportModel(LegionTdContext db) { _db = db; }
public BuildersModel(LegionTdContext db) { _db = db; }
public SteamApi(IConfiguration configuration, LegionTdContext db) { SteamPlayerApi = configuration["steamApi"]; SteamApiKey = configuration["steamApiKey"]; _db = db; }
public PlayerModel(SteamApi steamApi, LegionTdContext db) { _db = db; _steamApi = steamApi; }
public IndexModel(LegionTdContext db) { _db = db; }
public MatchesModel(LegionTdContext db) { _db = db; }
public SearchModel(LegionTdContext db) { _db = db; }
public RankingModel(LegionTdContext db) { _db = db; }
public BugsModel(LegionTdContext db) { _db = db; }