feat(dal): TaskManagementService - создать задачу в БД и отправить в очередь

This commit is contained in:
Mikhail Trubnikov
2026-03-23 16:56:31 +10:00
parent eb116bc16e
commit 583da7e433
14 changed files with 220 additions and 116 deletions

View File

@@ -0,0 +1,21 @@
using PARR.DAL.Context;
using PARR.DAL.Models.TaskModels;
using PARR.DAL.Services.Interfaces.TaskServices;
namespace PARR.DAL.Services.Implementations.TaskServices
{
internal class TaskTypeService : ITaskTypeService
{
private readonly DataContext dataContext;
public TaskTypeService(DataContext dataContext)
{
this.dataContext = dataContext;
}
public IQueryable<TaskType> Get()
{
return dataContext.TaskTypes;
}
}
}