예제 #1
0
 public State3Service(AlghorithmFaceRecognition faceRecognition, WorkTimeEventService workTimeEventService,
                      IConfigurationService configurationService)
 {
     _faceRecognition      = faceRecognition;
     _workTimeEventService = workTimeEventService;
     _config = configurationService.Get <State3Configuration>("state3");
 }
예제 #2
0
        public WorkTimeEventServiceTests()
        {
            var repo  = CreateRepo();
            var idGen = CreateIdGen();

            _service      = new WorkTimeEventService(new WorkTimeUow(repo), repo, TestUtils.ConfigurationService);
            _buildService = new WorkTimeBuildService(repo, idGen);
            _repository   = repo;
        }