feat(api): управление job auto control из api
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models.Job;
|
||||
using PARR.DAL.Services.Interfaces.Job;
|
||||
|
||||
namespace PARR.DAL.Services.Implementations.Job
|
||||
{
|
||||
internal class JobAutoControlService : IJobAutoControlService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
public JobAutoControlService(DataContext dataContext)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
|
||||
public IQueryable<JobAutoControl> Get()
|
||||
{
|
||||
return dataContext.JobAutoControls;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user