This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-11-15 08:42:31 -05:00

24 lines
452 B
C#

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