/// <summary>
 /// Initializes a new instance of the <see cref="SyncKronosToShiftsController"/> class.
 /// </summary>
 /// <param name="telemetryClient">ApplicationInsights DI.</param>
 /// <param name="configurationProvider">The Configuration Provider DI.</param>
 /// <param name="openShiftController">OpenShiftController DI.</param>
 /// <param name="openShiftRequestController">OpenShiftRequestController DI.</param>
 /// <param name="swapShiftController">SwapShiftController DI.</param>
 /// <param name="timeOffController">TimeOffController DI.</param>
 /// <param name="timeOffReasonController">TimeOffReasonController DI.</param>
 /// <param name="timeOffRequestsController">TimeOffRequestsController DI.</param>
 /// <param name="shiftController">ShiftController DI.</param>
 /// <param name="taskWrapper">Wrapper class instance for BackgroundTask.</param>
 public SyncKronosToShiftsController(
     TelemetryClient telemetryClient,
     IConfigurationProvider configurationProvider,
     OpenShiftController openShiftController,
     OpenShiftRequestController openShiftRequestController,
     SwapShiftController swapShiftController,
     TimeOffController timeOffController,
     TimeOffReasonController timeOffReasonController,
     TimeOffRequestsController timeOffRequestsController,
     ShiftController shiftController,
     BackgroundTaskWrapper taskWrapper)
 {
     this.telemetryClient            = telemetryClient;
     this.configurationProvider      = configurationProvider;
     this.openShiftController        = openShiftController;
     this.openShiftRequestController = openShiftRequestController;
     this.swapShiftController        = swapShiftController;
     this.timeOffController          = timeOffController;
     this.timeOffReasonController    = timeOffReasonController;
     this.timeOffRequestsController  = timeOffRequestsController;
     this.shiftController            = shiftController;
     this.taskWrapper = taskWrapper;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamsController"/> class.
 /// </summary>
 /// <param name="telemetryClient">ApplicationInsights DI.</param>
 /// <param name="configurationProvider">ConfigurationProvider DI.</param>
 /// <param name="openShiftRequestController">OpenShiftRequestController DI.</param>
 /// <param name="swapShiftController">SwapShiftController DI.</param>
 /// <param name="utility">The common utility methods DI.</param>
 /// <param name="userMappingProvider">The user mapping provider DI.</param>
 /// <param name="shiftMappingEntityProvider">The shift entity mapping provider DI.</param>
 /// <param name="openShiftRequestMappingEntityProvider">The open shift request mapping entity provider DI.</param>
 /// <param name="openShiftMappingEntityProvider">The open shift mapping entity provider DI.</param>
 /// <param name="swapShiftMappingEntityProvider">The swap shift mapping entity provider DI.</param>
 public TeamsController(
     TelemetryClient telemetryClient,
     IConfigurationProvider configurationProvider,
     OpenShiftRequestController openShiftRequestController,
     SwapShiftController swapShiftController,
     Common.Utility utility,
     IUserMappingProvider userMappingProvider,
     IShiftMappingEntityProvider shiftMappingEntityProvider,
     IOpenShiftRequestMappingEntityProvider openShiftRequestMappingEntityProvider,
     IOpenShiftMappingEntityProvider openShiftMappingEntityProvider,
     ISwapShiftMappingEntityProvider swapShiftMappingEntityProvider)
 {
     this.telemetryClient            = telemetryClient;
     this.configurationProvider      = configurationProvider;
     this.openShiftRequestController = openShiftRequestController;
     this.swapShiftController        = swapShiftController;
     this.utility                               = utility;
     this.userMappingProvider                   = userMappingProvider;
     this.shiftMappingEntityProvider            = shiftMappingEntityProvider;
     this.openShiftRequestMappingEntityProvider = openShiftRequestMappingEntityProvider;
     this.openShiftMappingEntityProvider        = openShiftMappingEntityProvider;
     this.swapShiftMappingEntityProvider        = swapShiftMappingEntityProvider;
 }