feat(api): ResponseAreaController getAll. WorkGroupController, getAll, добавлен фильтр по ЗО.

This commit is contained in:
Mikhail Trubnikov
2024-08-16 13:59:27 +10:00
parent 0f3def4b3a
commit ecd24cd94b
7 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using PARR.DAL.Context;
using PARR.DAL.Models;
using PARR.DAL.Services.Interfaces;
namespace PARR.DAL.Services.Implementations
{
internal class ResponseAreaService : IResponseAreaService
{
private readonly DataContext dataContext;
public ResponseAreaService(DataContext dataContext)
{
this.dataContext = dataContext;
}
public IQueryable<ResponseArea> Get()
{
return dataContext.ResponseAreas;
}
}
}