示例#1
0
 public RequestService(IRequestRepository requestRepository, ILogger <RequestService> logger, ICachedLookupsService lookupsService, IOptions <AppConfigs> appConfigs,
                       IBirthDocService birthDocService, IDeathDocService deathRecordService,
                       IMarriageDocService marriageDocService, IDivorceDocService divorceDocService, INidDocService nidDocService)
 {
     _logger               = logger;
     _requestRepository    = requestRepository;
     _lookupsService       = lookupsService;
     _birthDocService      = birthDocService;
     _deathRecordService   = deathRecordService;
     _marriageDocService   = marriageDocService;
     _divorceDocService    = divorceDocService;
     _postalPackageOptions = appConfigs.Value.PostalPackageOptions;
     _nidDocService        = nidDocService;
 }
示例#2
0
 public DeathDocController(IDeathDocService deathDocService, IMapper mapper, ILoggerFactory logger)
 {
     _deathDocService = deathDocService;
     _mapper          = mapper;
     _logger          = logger.CreateLogger("DeathDocController");
 }