コード例 #1
0
 public LarsImportService(ILarsPageParser larsPageParser,
                          IDataDownloadService dataDownloadService,
                          IImportAuditRepository importAuditRepository,
                          IApprenticeshipFundingImportRepository apprenticeshipFundingImportRepository,
                          ILarsStandardImportRepository larsStandardImportRepository,
                          IApprenticeshipFundingRepository apprenticeshipFundingRepository,
                          ILarsStandardRepository larsStandardRepository,
                          ISectorSubjectAreaTier2ImportRepository sectorSubjectAreaTier2ImportRepository,
                          ISectorSubjectAreaTier2Repository sectorSubjectAreaTier2Repository,
                          IStandardImportRepository standardImportRepository,
                          IZipArchiveHelper zipArchiveHelper,
                          ILogger <LarsImportService> logger)
 {
     _larsPageParser        = larsPageParser;
     _importAuditRepository = importAuditRepository;
     _apprenticeshipFundingImportRepository = apprenticeshipFundingImportRepository;
     _larsStandardImportRepository          = larsStandardImportRepository;
     _apprenticeshipFundingRepository       = apprenticeshipFundingRepository;
     _larsStandardRepository = larsStandardRepository;
     _sectorSubjectAreaTier2ImportRepository = sectorSubjectAreaTier2ImportRepository;
     _sectorSubjectAreaTier2Repository       = sectorSubjectAreaTier2Repository;
     _standardImportRepository = standardImportRepository;
     _logger            = logger;
     _larsImportStaging = new LarsImportStaging(
         dataDownloadService,
         zipArchiveHelper,
         _apprenticeshipFundingImportRepository,
         _larsStandardImportRepository,
         _sectorSubjectAreaTier2ImportRepository,
         _logger);
 }
 public StandardsImportService(
     IInstituteOfApprenticeshipService instituteOfApprenticeshipService,
     IStandardImportRepository standardImportRepository,
     IStandardRepository standardRepository,
     IImportAuditRepository auditRepository,
     IRouteRepository routeRepository,
     IRouteImportRepository routeImportRepository,
     ILogger <StandardsImportService> logger)
 {
     _instituteOfApprenticeshipService = instituteOfApprenticeshipService;
     _standardImportRepository         = standardImportRepository;
     _standardRepository    = standardRepository;
     _auditRepository       = auditRepository;
     _routeRepository       = routeRepository;
     _routeImportRepository = routeImportRepository;
     _logger = logger;
 }