public IndexController(IAPIProvider apiProvider, Storage storage, PisstaubeCacheDbContextFactory cache, BeatmapDownloader downloader, SetDownloader setDownloader, PisstaubeDbContext dbContext) { _apiProvider = apiProvider; _cache = cache; _downloader = downloader; _setDownloader = setDownloader; _dbContext = dbContext; _fileStorage = storage.GetStorageForDirectory("files"); }
public IndexController(APIAccess apiAccess, Storage storage, PisstaubeCacheDbContextFactory cache, BeatmapDownloader downloader, SetDownloader setDownloader, PisstaubeDbContextFactory contextFactory) { _apiAccess = apiAccess; _storage = storage; _cache = cache; _downloader = downloader; _setDownloader = setDownloader; _contextFactory = contextFactory; _fileStorage = storage.GetStorageForDirectory("files"); }