Пример #1
0
        private void SaveTvDbSeries(TvDbSeriesData tvDbSeries)
        {
            var fileSpec = new TvDbSeriesFileSpec(this.jsonSerialiser, this.applicationPaths.CachePath, tvDbSeries.Id);

            this.fileCache.SaveFile(fileSpec, tvDbSeries);
        }
Пример #2
0
        private Option <TvDbSeriesData> GetLocalTvDbSeriesData(int tvDbSeriesId)
        {
            var fileSpec = new TvDbSeriesFileSpec(this.jsonSerialiser, this.applicationPaths.CachePath, tvDbSeriesId);

            return(this.fileCache.GetFileContent(fileSpec));
        }