Beispiel #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;
 }
 public MarriageDocController(IMarriageDocService marriageDocService, IMapper mapper, ILoggerFactory logger)
 {
     _marriageDocService = marriageDocService;
     _mapper             = mapper;
     _logger             = logger.CreateLogger("MarriageDocController");
 }