feat(distributor): реализована логика распределения всех шаблонов в методе DistributeTemplatesAsync

This commit is contained in:
Mikhail Trubnikov
2025-12-25 12:07:53 +10:00
parent a7a82b902a
commit 6a8f90c860
7 changed files with 860 additions and 243 deletions

View File

@@ -6,6 +6,7 @@ using PARR.DAL.Services.Interfaces;
using PARR.EsppApi;
using PARR.EsppApi.Constants;
using PARR.EsppApi.Models.Query;
using PARR.Test.NextRun;
namespace PARR.Test
{
@@ -34,6 +35,19 @@ namespace PARR.Test
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
#region NextRunTest
using (var scope = serviceProvider.CreateScope())
{
var service = scope.ServiceProvider.GetService<NextRunTest>();
await service!.Test();
}
#endregion
#region test
//using (var scope = serviceProvider.CreateScope())
//{