feat(api): список статусов ЭК

This commit is contained in:
Mikhail Kuznetsov
2024-03-14 10:14:25 +10:00
parent fd7d5d78f3
commit ff712ed126
7 changed files with 102 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
using PARR.DAL.Context;
using PARR.DAL.Models;
using PARR.DAL.Services.Interfaces;
namespace PARR.DAL.Services.Implementations
{
internal class EkStatusService : IEkStatusService
{
private readonly DataContext dataContext;
public EkStatusService(DataContext dataContext)
{
this.dataContext = dataContext;
}
public IQueryable<EkStatus> Get()
{
return dataContext.EkStatuses;
}
}
}