public SmartSortManager(ISmartSortRepository smartSortRepository, IExecutionContextAccessor executionContextAccessor , IUnitOfWork unitOfWork, ILogger <TransactionPriorityManager> logger) { _smartSortRepository = smartSortRepository; _executionContextAccessor = executionContextAccessor; _unitOfWork = unitOfWork; }
public TransactionPriorityManager(ITransactionPriorityRepository tranPriorityRepository, IExecutionContextAccessor executionContextAccessor , IUnitOfWork unitOfWork, ILogger <TransactionPriorityManager> logger, ITransactionPrioritySmartSortRepository transactionPrioritySmartSortRepository, ISmartSortRepository smartSortRepository, IEventBus eventBus, IOptions <Configuration.Configuration> options, IMapper mapper) { _transactionPriorityRepository = tranPriorityRepository; _executionContextAccessor = executionContextAccessor; _unitOfWork = unitOfWork; _transactionPrioritySmartSortRepository = transactionPrioritySmartSortRepository; _smartSortRepository = smartSortRepository; _eventBus = eventBus; _configuration = options.Value; _mapper = mapper; }