Table of Contents

Interface IJobRepository

Namespace
Oqtane.Repository
Assembly
Oqtane.Server.dll
public interface IJobRepository

Methods

AddJob(Job)

Job AddJob(Job job)

Parameters

job Job

Returns

Job

DeleteJob(int)

void DeleteJob(int jobId)

Parameters

jobId int

GetJob(int)

Job GetJob(int jobId)

Parameters

jobId int

Returns

Job

GetJob(int, bool)

Job GetJob(int jobId, bool tracking)

Parameters

jobId int
tracking bool

Returns

Job

GetJobs()

IEnumerable<Job> GetJobs()

Returns

IEnumerable<Job>

UpdateJob(Job)

Job UpdateJob(Job job)

Parameters

job Job

Returns

Job