Exemplo n.º 1
0
        public ReportingService(
            IHealthReportRepository healthReportRepository,
            IEndpointRepository endpointRepository,
            ISiteHealthUnitOfWork uow)
        {
            _healthReportRepository = healthReportRepository;
            _endpointRepository     = endpointRepository;
            _uow = uow;

            _simpleMapper = CreateSimpleMapper();
        }
Exemplo n.º 2
0
        public ConfigurationService(
            ISiteRepository siteRepository,
            IOptionRepository optionRepository,
            IEndpointRepository endpointRepository,
            ISiteHealthUnitOfWork uow)
        {
            _siteRepository     = siteRepository;
            _optionRepository   = optionRepository;
            _endpointRepository = endpointRepository;
            _uow = uow;

            _simpleMapper = CreateSimpleMapper();
            _deepMapper   = CreateMapperWithChilds();
        }