Пример #1
0
 public ApproveVariationUseCase(IRepairsGateway repairsGateway, IJobStatusUpdateGateway jobStatusUpdateGateway,
                                ICurrentUserService currentUserService, IUpdateSorCodesUseCase updateSorCodesUseCase, INotifier notifier, IAuthorizationService authorizationService)
 {
     _repairsGateway        = repairsGateway;
     _currentUserService    = currentUserService;
     _updateSorCodesUseCase = updateSorCodesUseCase;
     _notifier               = notifier;
     _authorizationService   = authorizationService;
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
 }
Пример #2
0
 public MoreSpecificSorUseCase(IAuthorizationService authorizationService,
                               IFeatureManager featureManager,
                               ICurrentUserService currentUserService,
                               IUpdateSorCodesUseCase updateSorCodesUseCase,
                               IScheduleOfRatesGateway scheduleOfRatesGateway,
                               INotifier notifier)
 {
     _authorizationService   = authorizationService;
     _featureManager         = featureManager;
     _currentUserService     = currentUserService;
     _updateSorCodesUseCase  = updateSorCodesUseCase;
     _scheduleOfRatesGateway = scheduleOfRatesGateway;
     _notifier = notifier;
 }