public SegmentController(ILogService logService, IRelatedCareersSegmentService relatedCareersSegmentService, AutoMapper.IMapper mapper, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> refreshService)
 {
     this.logService = logService;
     this.relatedCareersSegmentService = relatedCareersSegmentService;
     this.mapper         = mapper;
     this.refreshService = refreshService;
 }
Exemplo n.º 2
0
        public HealthController(ILogService logService, IRelatedCareersSegmentService relatedCareersSegmentService)
        {
            this.logService = logService;
            this.relatedCareersSegmentService = relatedCareersSegmentService;

            resourceName = typeof(Program).Namespace;
        }
        public SegmentServiceUpsertTests()
        {
            var mapper = A.Fake <AutoMapper.IMapper>();
            var jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();

            repository = A.Fake <ICosmosRepository <RelatedCareersSegmentModel> >();
            relatedCareersSegmentService = new RelatedCareersSegmentService(repository, mapper, jobProfileSegmentRefreshService);
        }