//Set up constructor injection public DeploymentScheduleController(IServerService serverService, IEventLoggerService eventLoggerService, IDeploymentScheduleListService deploymentScheduleListService, IServerApplicationService serverApplicationService, IServerDeploymentStatusService serverDeploymentStatusService, IServerDetailService serverDetailService, IDeploymentService deploymentService, IDeploymentScheduleService deploymentScheduleService, IRnowService rnowService) { _serverService = serverService; _eventLoggerService = eventLoggerService; _deploymentScheduleListService = deploymentScheduleListService; _serverApplicationService = serverApplicationService; _serverDeploymentStatusService = serverDeploymentStatusService; _serverDetailService = serverDetailService; _deploymentService = deploymentService; _deploymentScheduleService = deploymentScheduleService; _rnowService = rnowService; }
public SearchClient(IServerApplicationService serverApplicationService) { _serverApplicationService = serverApplicationService; Client = new Search(_serverApplicationService.Client); }