oqtane.framework/Oqtane.Client/Services/Interfaces/IJobService.cs
2020-04-03 17:18:33 -04:00

24 lines
463 B
C#

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