completed background job scheduler
This commit is contained in:
14
Oqtane.Server/Repository/Interfaces/IJobLogRepository.cs
Normal file
14
Oqtane.Server/Repository/Interfaces/IJobLogRepository.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IJobLogRepository
|
||||
{
|
||||
IEnumerable<JobLog> GetJobLogs();
|
||||
JobLog AddJobLog(JobLog JobLog);
|
||||
JobLog UpdateJobLog(JobLog JobLog);
|
||||
JobLog GetJobLog(int JobLogId);
|
||||
void DeleteJobLog(int JobLogId);
|
||||
}
|
||||
}
|
14
Oqtane.Server/Repository/Interfaces/IJobRepository.cs
Normal file
14
Oqtane.Server/Repository/Interfaces/IJobRepository.cs
Normal file
@ -0,0 +1,14 @@
|
||||
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);
|
||||
void DeleteJob(int JobId);
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IScheduleLogRepository
|
||||
{
|
||||
IEnumerable<ScheduleLog> GetScheduleLogs();
|
||||
ScheduleLog AddScheduleLog(ScheduleLog ScheduleLog);
|
||||
ScheduleLog UpdateScheduleLog(ScheduleLog ScheduleLog);
|
||||
ScheduleLog GetScheduleLog(int ScheduleLogId);
|
||||
void DeleteScheduleLog(int ScheduleLogId);
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IScheduleRepository
|
||||
{
|
||||
IEnumerable<Schedule> GetSchedules();
|
||||
Schedule AddSchedule(Schedule Schedule);
|
||||
Schedule UpdateSchedule(Schedule Schedule);
|
||||
Schedule GetSchedule(int ScheduleId);
|
||||
void DeleteSchedule(int ScheduleId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user