Beispiel #1
0
        public void SaveReportFile(ReportBundle reportBundle, [NotNull] ReportFile reportFile, long userId)
        {
            if (reportFile == null)
            {
                throw new ArgumentNullException(nameof(reportFile));
            }

            var reportFolderPath = _reportFolderPathProvider.GetReportFolderPath(reportBundle, userId);

            _fileWriter.Write(reportFolderPath, reportFile.FileName, reportFile.Content);
        }
 private void SaveReportFileInTempStorage(long userId, ReportBundle reportBundle, ReportFile reportFile) =>
 _reportFileStorage.SaveReportFile(reportBundle, reportFile, userId);