feat(api): обновлен AppInWorkController под новый респонс, валидация для галки IsAutoDistributionEnabled
This commit is contained in:
23
PARR.DAL/Services/Implementations/EsppSchTypeValueService.cs
Normal file
23
PARR.DAL/Services/Implementations/EsppSchTypeValueService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Abstracts;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
|
||||
namespace PARR.DAL.Services.Implementations
|
||||
{
|
||||
internal class EsppSchTypeValueService : BaseService<EsppSchTypeValue>, IEsppSchTypeValueService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
protected override DbSet<EsppSchTypeValue> EntitySet => dataContext.EsppSchTypeValues;
|
||||
|
||||
protected override DataContext EntitiContext => dataContext;
|
||||
|
||||
public EsppSchTypeValueService(DataContext dataContext, ILogger<EsppSchTypeValueService> logger): base(logger)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
9
PARR.DAL/Services/Interfaces/IEsppSchTypeValueService.cs
Normal file
9
PARR.DAL/Services/Interfaces/IEsppSchTypeValueService.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Interfaces.Base;
|
||||
|
||||
namespace PARR.DAL.Services.Interfaces
|
||||
{
|
||||
public interface IEsppSchTypeValueService : IBaseService<EsppSchTypeValue>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user