using Managing.Domain.Workers; using static Managing.Common.Enums; namespace Managing.Application.Abstractions.Services; public interface IWorkerService { Task DisableWorker(WorkerType workerType); Task EnableWorker(WorkerType workerType); Task GetWorker(WorkerType workerType); Task> GetWorkers(); Task InsertWorker(WorkerType workerType, TimeSpan delay); Task ToggleWorker(WorkerType workerType); Task UpdateWorker(WorkerType workerType, int executionCount); }