public IndexModel(IMediator mediator, TrustDBContext context, ITimestampProofValidator timestampProofValidator, IConfiguration configuration) { _mediator = mediator; _context = context; _timestampProofValidator = timestampProofValidator; _configuration = configuration; }
public SynchronizePackageWorkflow(IMediator mediator, IPackageService packageService, ITrustDBService trustDBService, IPackageSchemaValidator packageSchemaValidator, ITimestampProofValidator timestampProofValidator, IConfiguration configuration, ILogger <SynchronizePackageWorkflow> logger, IPackageMessageValidator packageMessageValidator, IServerIdentityService serverIdentityService) { _mediator = mediator; _packageService = packageService; _trustDBService = trustDBService; _packageSchemaValidator = packageSchemaValidator; _timestampProofValidator = timestampProofValidator; _configuration = configuration; _logger = logger; _packageMessageValidator = packageMessageValidator; _serverIdentityService = serverIdentityService; }