feat(dal,api,nextRunWorker): подключена логика NextRunServiceV2 в nextRunWorker, в api RobotTaskController
This commit is contained in:
@@ -13,7 +13,7 @@ namespace PARR.Test.NextRun
|
||||
private readonly INextRunService nextRunService;
|
||||
private readonly ITemplateService templateService;
|
||||
private readonly IShortcodesService shortcodesService;
|
||||
private readonly ITemplateDistributorV2 templateDistributorV2;
|
||||
//private readonly ITemplateDistributorV2 templateDistributorV2;
|
||||
private readonly INextRunServiceV2 nextRunServiceV2;
|
||||
|
||||
public NextRunTest(
|
||||
@@ -21,7 +21,7 @@ namespace PARR.Test.NextRun
|
||||
INextRunService nextRunService,
|
||||
ITemplateService templateService,
|
||||
IShortcodesService shortcodesService,
|
||||
ITemplateDistributorV2 templateDistributorV2,
|
||||
//ITemplateDistributorV2 templateDistributorV2,
|
||||
INextRunServiceV2 nextRunServiceV2
|
||||
)
|
||||
{
|
||||
@@ -29,7 +29,7 @@ namespace PARR.Test.NextRun
|
||||
this.nextRunService = nextRunService;
|
||||
this.templateService = templateService;
|
||||
this.shortcodesService = shortcodesService;
|
||||
this.templateDistributorV2 = templateDistributorV2;
|
||||
//this.templateDistributorV2 = templateDistributorV2;
|
||||
this.nextRunServiceV2 = nextRunServiceV2;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace PARR.Test.NextRun
|
||||
//var nextRunForExistTemplateDistib = await nextRunServiceV2.GetNextRunForTemplateAsync(Guid.Parse("05769f8d-9630-4683-b07a-070d69e1dc12"), false);
|
||||
|
||||
// существующий шаблон - еспп
|
||||
var nextRunForExistTemplateEspp = await nextRunServiceV2.GetNextRunForTemplateAsync(Guid.Parse("1329dfca-5e09-4b19-a2e6-560a4896080c"), false);
|
||||
//var nextRunForExistTemplateEspp = await nextRunServiceV2.GetNextRunForTemplateAsync(Guid.Parse("1329dfca-5e09-4b19-a2e6-560a4896080c"), false);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user