public PlayerDataService( IPlayerCache playerCache, IPlayerDataCache playerDataCache, IDataContextProvider dataContextProvider) { _playerCache = playerCache; _playerDataCache = playerDataCache; _contextProvider = dataContextProvider; }
public DataController( IOptions <ConnectionStrings> connectionStrings, IDataRepository repository, IGuildService guildService, IBlizzardService blizzardService, IGuildStatsRetriever guildStatsRetriever, IRaiderIoStatsRetriever raiderIoStatsRetriever, IGuildCache guildCache, IPlayerCache playerCache, IGuildMemberCache guildMemberCache, IRealmsCache realmsCache, IGuildStoreByName guildStore, IPlayerStoreByValue playerStore, IRealmStoreByValues realmStoreByValues, RoleManager <IdentityRole> roleManager, UserManager <EfModels.UserWithData> userManager, IMapper mapper) { this.connectionStrings = connectionStrings.Value; this.blizzardService = blizzardService; this.guildStatsRetriever = guildStatsRetriever; this.raiderIoStatsRetriever = raiderIoStatsRetriever; this.guildService = guildService; this.dataRepo = repository; this.guildCache = guildCache; this.playerCache = playerCache; this.guildMemberCache = guildMemberCache; this.realmsCache = realmsCache; this.playerStore = playerStore; this.guildStore = guildStore; this.realmStoreByValues = realmStoreByValues; this.roleManager = roleManager; this.userManager = userManager; this.mapper = mapper; }