Ejemplo n.º 1
0
 public SegmentController(IJobProfileTasksSegmentService jobProfileTasksSegmentService, AutoMapper.IMapper mapper, ILogService logService, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> refreshService)
 {
     this.jobProfileTasksSegmentService = jobProfileTasksSegmentService;
     this.mapper         = mapper;
     this.logService     = logService;
     this.refreshService = refreshService;
 }
Ejemplo n.º 2
0
 public SegmentServiceGetByNameTests()
 {
     repository = A.Fake <ICosmosRepository <JobProfileTasksSegmentModel> >();
     mapper     = A.Fake <IMapper>();
     jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
     jobProfileTasksSegmentService   = new JobProfileTasksSegmentService(repository, mapper, jobProfileSegmentRefreshService);
 }
        public SegmentServiceUpsertTests()
        {
            var jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
            var mapper = A.Fake <AutoMapper.IMapper>();

            repository          = A.Fake <ICosmosRepository <JobProfileTasksSegmentModel> >();
            skillSegmentService = new JobProfileTasksSegmentService(repository, mapper, jobProfileSegmentRefreshService);
        }
 public HealthController(ILogger <HealthController> logger, IJobProfileTasksSegmentService jobProfileTasksSegmentService)
 {
     this.logger = logger;
     this.jobProfileTasksSegmentService = jobProfileTasksSegmentService;
 }