public ReportService(ILogger <ReportService> logger,
                      IReportRepository reportRepository,
                      Func <ReportType, IReportStrategy> reportStrategyAccessor,
                      ITimeProvider timeProvider,
                      ICsvBuilder csvBuilder)
 {
     _logger                 = logger;
     _reportRepository       = reportRepository;
     _reportStrategyAccessor = reportStrategyAccessor;
     _timeProvider           = timeProvider;
     _csvBuilder             = csvBuilder;
 }
Exemple #2
0
 public ExportTransactionsQueryHandler(ITransactionManagerDbContext context, ICsvBuilder csvBuilder, EnumMapper enumMapper)
 {
     _context    = context;
     _csvBuilder = csvBuilder;
     _enumMapper = enumMapper;
 }