feat(bll): заготовка ICalendarService

This commit is contained in:
Mikhail Kuznetsov
2024-06-28 16:42:53 +10:00
parent 3d78f31de1
commit 9632b0c560
4 changed files with 94 additions and 1 deletions

View File

@@ -11,16 +11,19 @@ namespace PARR.Test
private readonly ILogger<Worker> _logger;
private readonly IEsppApiService esppApiService;
private readonly IIntervalService intervalService;
private readonly ICalendarService calendarService;
public Worker(
ILogger<Worker> logger,
IEsppApiService esppApiService,
IIntervalService intervalService
IIntervalService intervalService,
ICalendarService calendarService
)
{
_logger = logger;
this.esppApiService = esppApiService;
this.intervalService = intervalService;
this.calendarService = calendarService;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
@@ -33,7 +36,14 @@ namespace PARR.Test
#endregion
#region Calendar
var testCalendar = new BLL.Services.Implementations.Test(calendarService);
testCalendar.Ttt() ;
#endregion
////test interval