using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { 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); } }