template controller
This commit is contained in:
20
PARR.DAL/Services/Implementations/StatusTemplateService.cs
Normal file
20
PARR.DAL/Services/Implementations/StatusTemplateService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user