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;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public IQueryable<StatusTemplate> Get()
|
|
|
|
|
|
{
|
|
|
|
|
|
return dataContext.StatusTemplates;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|