Beispiel #1
0
 public WildlifeReportJobService(IUnitOfWork unitOfWork, ILogger <IWildlifeReportJobService> logger,
                                 ISubmissionStatusService statusService, ISubmissionObjectRepository submissionRepo, IServiceAreaService serviceAreaService,
                                 ISumbissionRowRepository submissionRowRepo, IWildlifeReportRepository wildlifeReportRepo, IFieldValidatorService validator,
                                 IEmailService emailService, IConfiguration config,
                                 ISpatialService spatialService, ILookupCodeService lookupService)
     : base(unitOfWork, statusService, submissionRepo, serviceAreaService, submissionRowRepo, emailService, logger, config, validator, spatialService, lookupService)
 {
     _wildlifeReportRepo = wildlifeReportRepo;
     _thresholdSpLevel   = GetDefaultThresholdSpLevel(Reports.Wildlife);
 }
 public WorkReportJobService(IUnitOfWork unitOfWork, ILogger <IWorkReportJobService> logger,
                             IActivityCodeRepository activityRepo, ISubmissionStatusService statusService, ISubmissionObjectRepository submissionRepo, IServiceAreaService serviceAreaService,
                             ISumbissionRowRepository submissionRowRepo, IWorkReportRepository workReportRepo, IFieldValidatorService validator,
                             IEmailService emailService, IConfiguration config,
                             ISpatialService spatialService, ILookupCodeService lookupService)
     : base(unitOfWork, statusService, submissionRepo, serviceAreaService, submissionRowRepo, emailService, logger, config, validator, spatialService, lookupService)
 {
     _activityRepo   = activityRepo;
     _workReportRepo = workReportRepo;
 }
 public WildlifeReportService(IUnitOfWork unitOfWork,
                              ISubmissionStreamService streamService, ISubmissionObjectRepository submissionRepo, ISumbissionRowRepository rowRepo,
                              IContractTermRepository contractRepo, ISubmissionStatusService statusService, IWildlifeReportRepository wildlifeRepo, IFieldValidatorService validator,
                              ILogger <WildlifeReportService> logger, IServiceAreaService saService)
     : base(unitOfWork, streamService, submissionRepo, rowRepo, contractRepo, statusService, validator, saService, logger)
 {
     TableName        = TableNames.WildlifeReport;
     HasRowIdentifier = false;
     DateFieldName    = Fields.AccidentDate;
     _wildlifeRepo    = wildlifeRepo;
     _logger          = logger;
 }
 public ReportServiceBase(IUnitOfWork unitOfWork,
                          ISubmissionStreamService streamService, ISubmissionObjectRepository submissionRepo, ISumbissionRowRepository rowRepo,
                          IContractTermRepository contractRepo, ISubmissionStatusService statusService, IFieldValidatorService validator,
                          IServiceAreaService saService)
 {
     _unitOfWork     = unitOfWork;
     _streamService  = streamService;
     _submissionRepo = submissionRepo;
     _rowRepo        = rowRepo;
     _contractRepo   = contractRepo;
     _statusService  = statusService;
     _validator      = validator;
     _saService      = saService;
 }
Beispiel #5
0
        public ReportJobServiceBase(IUnitOfWork unitOfWork,
                                    ISubmissionStatusService statusService, ISubmissionObjectRepository submissionRepo, IServiceAreaService serviceAreaService,
                                    ISumbissionRowRepository submissionRowRepo, IEmailService emailService, ILogger logger, IConfiguration config, IFieldValidatorService validator,
                                    ISpatialService spatialService, ILookupCodeService lookupService)
        {
            _unitOfWork         = unitOfWork;
            _statusService      = statusService;
            _submissionRepo     = submissionRepo;
            _submissionRowRepo  = submissionRowRepo;
            _serviceAreaService = serviceAreaService;
            _emailService       = emailService;
            _logger             = logger;
            _config             = config;
            _lookupService      = lookupService;
            _validator          = validator;
            _spatialService     = spatialService;
            _geometryFactory    = NtsGeometryServices.Instance.CreateGeometryFactory(srid: 4326);

            _submissionRows = new Dictionary <decimal, HmrSubmissionRow>();
        }
Beispiel #6
0
 public SubmissionStatusController(ISubmissionStatusService statusService)
 {
     _statusService = statusService;
 }