Пример #1
0
 public SchedulerController(IUserSyncService userSyncService, IADGroupSyncService groupSyncService, ISyncBatchService syncBatchService, IActiveDirectoryContext adContext)
 {
     _userSyncService  = userSyncService;
     _groupSyncService = groupSyncService;
     _syncBatchService = syncBatchService;
     _adContext        = adContext;
 }
Пример #2
0
 public HangfireScheduler(IUserSyncService userSyncService, ISyncBatchService syncBatchService, IActiveDirectoryContext adContext, IImportService importService, IConfiguration configuration, IHttpContextAccessor context)
 {
     _userSyncService  = userSyncService;
     _syncBatchService = syncBatchService;
     _adContext        = adContext;
     _importService    = importService;
     _configuration    = configuration;
     _context          = context;
 }