feat(distributor): реализована логика распределения всех шаблонов в методе DistributeTemplatesAsync
This commit is contained in:
@@ -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())
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user