consolidate interface and implementation classes
This commit is contained in:
@ -7,6 +7,16 @@ 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);
|
||||
}
|
||||
|
||||
public class JobRepository : IJobRepository
|
||||
{
|
||||
private MasterDBContext _db;
|
||||
|
Reference in New Issue
Block a user