public VarySpendLimitAuthorizationHandler(
     IScheduleOfRatesGateway sorGateway,
     IRepairsGateway repairsGateway
     )
 {
     _sorGateway     = sorGateway;
     _repairsGateway = repairsGateway;
 }
예제 #2
0
 public RepairsSnsService(ISnsGateway snsGateway, ICurrentUserService currentUserService, IRepairsGateway repairsGateway, ILogger <RepairsSnsService> logger, IOperativesGateway operativesGateway)
 {
     _snsGateway         = snsGateway;
     _currentUserService = currentUserService;
     _repairsGateway     = repairsGateway;
     _logger             = logger;
     _operativesGateway  = operativesGateway;
 }
예제 #3
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;
 }
예제 #5
0
 public RejectVariationUseCase(
     IRepairsGateway repairsGateway,
     ICurrentUserService currentUserService,
     IJobStatusUpdateGateway jobStatusUpdateGateway,
     INotifier notifier)
 {
     _repairsGateway         = repairsGateway;
     _currentUserService     = currentUserService;
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
     _notifier = notifier;
 }
예제 #6
0
 public SyncDRSWorkOrdersUseCase(
     IDrsService drsService,
     IListWorkOrdersUseCase workOrdersUseCase,
     ILogger <SyncDRSWorkOrdersUseCase> logger,
     IScheduleOfRatesGateway scheduleOfRatesGateway,
     IRepairsGateway repairsGateway
     )
 {
     _drsService            = drsService;
     _listWorkOrdersUseCase = workOrdersUseCase;
     _logger = logger;
     _scheduleOfRatesGateway = scheduleOfRatesGateway;
     _repairsGateway         = repairsGateway;
 }
예제 #7
0
 public DrsService(
     SOAP drsSoap,
     IOptions <DrsOptions> drsOptions,
     ILogger <DrsService> logger,
     IDrsMapping drsMapping,
     IOperativesGateway operativesGateway,
     IAppointmentsGateway appointmentsGateway,
     IRepairsGateway repairsGateway)
 {
     _drsSoap             = drsSoap;
     _drsOptions          = drsOptions;
     _logger              = logger;
     _drsMapping          = drsMapping;
     _operativesGateway   = operativesGateway;
     _appointmentsGateway = appointmentsGateway;
     _repairsGateway      = repairsGateway;
 }
예제 #8
0
 public GetWorkOrderUseCase(
     IRepairsGateway repairsGateway,
     IAppointmentsGateway appointmentGateway,
     IOptions <DrsOptions> drsOptions,
     IFeatureManager featureManager,
     IDrsService drsService,
     IScheduleOfRatesGateway sorGateway,
     ILogger <GetWorkOrderUseCase> logger
     )
 {
     _repairsGateway     = repairsGateway;
     _appointmentGateway = appointmentGateway;
     _drsOptions         = drsOptions;
     _featureManager     = featureManager;
     _drsService         = drsService;
     _sorGateway         = sorGateway;
     _logger             = logger;
 }
 public CreateWorkOrderUseCase(
     IRepairsGateway repairsGateway,
     IScheduleOfRatesGateway scheduleOfRatesGateway,
     ILogger <CreateWorkOrderUseCase> logger,
     ICurrentUserService currentUserService,
     IAuthorizationService authorizationService,
     IFeatureManager featureManager,
     INotifier notifier,
     IOptions <DrsOptions> drsOptions
     )
 {
     _repairsGateway         = repairsGateway;
     _scheduleOfRatesGateway = scheduleOfRatesGateway;
     _logger               = logger;
     _currentUserService   = currentUserService;
     _authorizationService = authorizationService;
     _featureManager       = featureManager;
     _notifier             = notifier;
     _drsOptions           = drsOptions;
 }
 public CompleteWorkOrderUseCase(
     IRepairsGateway repairsGateway,
     IWorkOrderCompletionGateway workOrderCompletionGateway,
     ITransactionManager transactionManager,
     ICurrentUserService currentUserService,
     INotifier notifier,
     IFeatureManager featureManager,
     IScheduleOfRatesGateway scheduleOfRatesGateway,
     IRepairsSnsService repairsSnsService,
     ILogger <CompleteWorkOrderUseCase> logger
     )
 {
     _repairsGateway             = repairsGateway;
     _workOrderCompletionGateway = workOrderCompletionGateway;
     _transactionManager         = transactionManager;
     _currentUserService         = currentUserService;
     _notifier               = notifier;
     _featureManager         = featureManager;
     _scheduleOfRatesGateway = scheduleOfRatesGateway;
     _repairsSnsService      = repairsSnsService;
     _logger = logger;
 }
예제 #11
0
 public JobIncompleteNeedMaterialsStrategy(IRepairsGateway repairsGateway)
 {
     _repairsGateway = repairsGateway;
 }
 public ListAppointmentsUseCase(IRepairsGateway repairsGateway, IAppointmentsGateway appointmentsGateway)
 {
     _repairsGateway      = repairsGateway;
     _appointmentsGateway = appointmentsGateway;
 }
예제 #13
0
 public ListWorkOrderNotesUseCase(IRepairsGateway repairsGateway)
 {
     _repairsGateway = repairsGateway;
 }
 public ContractorAcknowledgeVariationUseCase(IRepairsGateway repairsGateway,
                                              ICurrentUserService currentUserService)
 {
     _repairsGateway     = repairsGateway;
     _currentUserService = currentUserService;
 }
 public ResumeJobStrategy(IRepairsGateway repairsGateway)
 {
     _repairsGateway = repairsGateway;
 }
예제 #16
0
 public CreateAppointmentUseCase(IAppointmentsGateway appointmentsGateway, IRepairsGateway repairsGateway, IUpdateJobStatusUseCase jobStatusUseCase)
 {
     _appointmentsGateway = appointmentsGateway;
     _repairsGateway      = repairsGateway;
     _jobStatusUseCase    = jobStatusUseCase;
 }
예제 #17
0
 public ListWorkOrdersUseCase(IRepairsGateway repairsGateway, IFilterBuilder <WorkOrderSearchParameters, WorkOrder> filterBuilder)
 {
     _repairsGateway = repairsGateway;
     _filterBuilder  = filterBuilder;
 }
 public ListVariationTasksUseCase(IJobStatusUpdateGateway jobStatusUpdateGateway,
                                  IRepairsGateway repairsGateway)
 {
     _jobStatusUpdateGateway = jobStatusUpdateGateway;
     _repairsGateway         = repairsGateway;
 }
예제 #19
0
 public JobIncompleteStrategy(IRepairsGateway repairsGateway)
 {
     _repairsGateway = repairsGateway;
 }