consolidate interface and implementation classes

This commit is contained in:
sbwalker
2025-08-11 16:36:09 -04:00
parent d7eb0dc509
commit b3f6194fda
55 changed files with 309 additions and 473 deletions

View File

@ -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;