completed background job scheduler

This commit is contained in:
Shaun Walker
2019-11-15 08:42:31 -05:00
parent b4cd038e17
commit 25d2c6596d
41 changed files with 1248 additions and 554 deletions

View File

@ -0,0 +1,23 @@
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);
}
}