/// <summary> /// AgentGroupsController constructor /// </summary> /// <param name="membershipManager"></param> /// <param name="userManager"></param> /// <param name="accessor"></param> /// <param name="configuration"></param> public AgentGroupsController( IAgentGroupRepository agentGroupRepository, ApplicationIdentityUserManager userManager, IHttpContextAccessor accessor, IMembershipManager membershipManager, IConfiguration configuration, IAgentGroupManager agentGroupsManager, IWebhookPublisher webhookPublisher) : base(agentGroupRepository, userManager, accessor, membershipManager, configuration) { _agentGroupsManager = agentGroupsManager; _webhookPublisher = webhookPublisher; _agentGroupRepository = agentGroupRepository; }
public HubManager(IRecurringJobManager recurringJobManager, IJobRepository jobRepository, IHubContext <NotificationHub> hub, IAutomationVersionRepository automationVersionRepository, IWebhookPublisher webhookPublisher, IJobParameterRepository jobParameterRepository, IScheduleParameterRepository scheduleParameterRepository, IOrganizationSettingManager organizationSettingManager, IAgentGroupManager agentGroupManager) { _recurringJobManager = recurringJobManager; _jobRepository = jobRepository; _automationVersionRepository = automationVersionRepository; _webhookPublisher = webhookPublisher; _jobParameterRepository = jobParameterRepository; _hub = hub; _scheduleParameterRepository = scheduleParameterRepository; _organizationSettingManager = organizationSettingManager; _agentGroupManager = agentGroupManager; }