Exemplo n.º 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;
 }
 public UpdateJobStatusUseCase(
     IRepairsGateway repairsGateway,
     IJobStatusUpdateGateway jobStatusUpdateGateway,
     IJobStatusUpdateStrategyFactory strategyFactory
     )
 {
     _repairsGateway         = repairsGateway;
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
     _strategyFactory        = strategyFactory;
 }
Exemplo n.º 3
0
 public RejectVariationUseCase(
     IRepairsGateway repairsGateway,
     ICurrentUserService currentUserService,
     IJobStatusUpdateGateway jobStatusUpdateGateway,
     INotifier notifier)
 {
     _repairsGateway         = repairsGateway;
     _currentUserService     = currentUserService;
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
     _notifier = notifier;
 }
 public DrsBackgroundService(
     ILogger <DrsBackgroundService> logger,
     IAppointmentsGateway appointmentsGateway,
     IDrsService drsService,
     IOperativesGateway operativesGateway,
     IJobStatusUpdateGateway jobStatusUpdateGateway
     )
 {
     _logger = logger;
     _appointmentsGateway    = appointmentsGateway;
     _drsService             = drsService;
     _operativesGateway      = operativesGateway;
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
 }
 public ListVariationTasksUseCase(IJobStatusUpdateGateway jobStatusUpdateGateway,
                                  IRepairsGateway repairsGateway)
 {
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
     _repairsGateway         = repairsGateway;
 }