feat(dal): Task - доработка моделей
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models.TaskModels;
|
||||
using PARR.DAL.Services.Abstracts;
|
||||
using PARR.DAL.Services.Interfaces.TaskServices;
|
||||
|
||||
namespace PARR.DAL.Services.Implementations.TaskServices
|
||||
{
|
||||
internal class TaskErrorService : BaseService<TaskError>, ITaskErrorService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
protected override DbSet<TaskError> EntitySet => dataContext.TaskErrors;
|
||||
|
||||
protected override DataContext EntitiContext => dataContext;
|
||||
|
||||
public TaskErrorService(DataContext dataContext, ILogger<TaskErrorService> logger): base(logger)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user