2023-09-15 16:32:46 +10:00
|
|
|
|
using PARR.DAL.Context;
|
|
|
|
|
|
using PARR.DAL.Models;
|
2023-10-03 14:30:54 +10:00
|
|
|
|
using PARR.DAL.Services.Interfaces;
|
2023-09-15 16:32:46 +10:00
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Services.Implementations
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class StatusTemplateService : IStatusTemplateService
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly DataContext dataContext;
|
|
|
|
|
|
|
|
|
|
|
|
public StatusTemplateService(DataContext dataContext)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.dataContext = dataContext;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-10-05 16:56:02 +10:00
|
|
|
|
public IQueryable<Models.TaskStatus> Get()
|
2023-09-15 16:32:46 +10:00
|
|
|
|
{
|
2023-10-05 16:56:02 +10:00
|
|
|
|
return dataContext.TaskStatuses;
|
2023-09-15 16:32:46 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|