using System; using System.Threading; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; namespace AdminBLL.BulkIceImport { // TODO: Inject IVoucherImportBLL once it is defined in VoucherBLL. // Wire the constructor and replace the ExecuteAsync body with: // await _voucherImport.VoucherAsynchImportAsync(outputTableName, 0, isSkip, 0, 0, login, approvalMode, ct); public sealed class VoucherPostImportAction : IPostImportAction { public string ActionKey => "VOUCHER"; public Task ExecuteAsync( string outputTableName, int isSkip, int approvalMode, LoginDTO login, CancellationToken ct) { throw new NotImplementedException( "IVoucherImportBLL is not yet available. " + "Inject it into VoucherPostImportAction and delegate to VoucherAsynchImportAsync."); } } }