Clean namings and namespace

This commit is contained in:
2025-08-05 17:45:44 +07:00
parent 843239d187
commit 7d92031059
30 changed files with 67 additions and 64 deletions

View File

@@ -0,0 +1,15 @@
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<Worker> GetWorker(WorkerType workerType);
Task<IEnumerable<Worker>> GetWorkers();
Task InsertWorker(WorkerType workerType, TimeSpan delay);
Task<bool> ToggleWorker(WorkerType workerType);
Task UpdateWorker(WorkerType workerType, int executionCount);
}