22 lines
499 B
C#
22 lines
499 B
C#
using PARR.DAL.Context;
|
|
using PARR.DAL.Models;
|
|
using PARR.DAL.Services.Interfaces;
|
|
|
|
namespace PARR.DAL.Services.Implementations
|
|
{
|
|
internal class StatusTemplateService : IStatusTemplateService
|
|
{
|
|
private readonly DataContext dataContext;
|
|
|
|
public StatusTemplateService(DataContext dataContext)
|
|
{
|
|
this.dataContext = dataContext;
|
|
}
|
|
|
|
public IQueryable<StatusTask> Get()
|
|
{
|
|
return dataContext.StatusTasks;
|
|
}
|
|
}
|
|
}
|