28 lines
740 B
C#
28 lines
740 B
C#
using EnvelopeGenerator.Application.Common.Configurations;
|
|
using MediatR;
|
|
using Microsoft.Extensions.Options;
|
|
using Quartz;
|
|
|
|
namespace EnvelopeGenerator.Finalizer.Job
|
|
{
|
|
public class CreateReportJob : IJob
|
|
{
|
|
private readonly ILogger<CreateReportJob> _logger;
|
|
|
|
private readonly IMediator _mediator;
|
|
|
|
private readonly PDFBurnerParams _options;
|
|
|
|
public CreateReportJob(ILogger<CreateReportJob> logger, IMediator mediator, IOptions<PDFBurnerParams> options)
|
|
{
|
|
_logger = logger;
|
|
_mediator = mediator;
|
|
_options = options.Value;
|
|
}
|
|
|
|
public Task Execute(IJobExecutionContext context)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
} |