consolidate interface and implementation classes
This commit is contained in:
@ -5,6 +5,16 @@ using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IJobLogRepository
|
||||
{
|
||||
IEnumerable<JobLog> GetJobLogs();
|
||||
IEnumerable<JobLog> GetJobLogs(int jobId);
|
||||
JobLog AddJobLog(JobLog jobLog);
|
||||
JobLog UpdateJobLog(JobLog jobLog);
|
||||
JobLog GetJobLog(int jobLogId);
|
||||
void DeleteJobLog(int jobLogId);
|
||||
}
|
||||
|
||||
public class JobLogRepository : IJobLogRepository
|
||||
{
|
||||
private MasterDBContext _db;
|
||||
|
Reference in New Issue
Block a user