21 lines
471 B
C#
21 lines
471 B
C#
using PARR.DAL.Context;
|
|
using PARR.DAL.Models;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|