16 lines
345 B
C#
16 lines
345 B
C#
using System.Collections.Generic;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface IJobRepository
|
|
{
|
|
IEnumerable<Job> GetJobs();
|
|
Job AddJob(Job job);
|
|
Job UpdateJob(Job job);
|
|
Job GetJob(int jobId);
|
|
Job GetJob(int jobId, bool tracking);
|
|
void DeleteJob(int jobId);
|
|
}
|
|
}
|