using System.Collections.Generic; using System.Threading.Tasks; using Oqtane.Models; namespace Oqtane.Services.Interfaces { public interface IJobService { Task> GetJobsAsync(); Task GetJobAsync(int jobId); Task AddJobAsync(Job job); Task UpdateJobAsync(Job job); Task DeleteJobAsync(int jobId); Task StartJobAsync(int jobId); Task StopJobAsync(int jobId); } }