using Infrastructure.Models; namespace Infrastructure.Services.Interfaces; public interface IJobManagementService { Task StartJob(JobType jobType, JobSchedule? schedule = null, string? directCronExpression = null); Task StopJob(JobType jobType); Task PauseJob(JobType jobType); Task ResumeJob(JobType jobType); Task> GetAllJobs(); Task GetJob(JobType jobType); Task UpdateJobSchedule(JobType jobType, JobSchedule schedule); }