public Program(ILogger logger, IExcelFileDeleter excelFileDeleter, IExcelFileGenerator excelFileGenerator, IPracticeProfilesExcelFileGenerator practiceProfilesExcelFileGenerator) { _logger = logger; _excelFileDeleter = excelFileDeleter; _excelFileGenerator = excelFileGenerator; _practiceProfilesExcelFileGenerator = practiceProfilesExcelFileGenerator; }
public ExcelReportsFromMySqlProvider(IExcelFileGenerator excelGenerator, IMySqlDatabaseContext context) { if (excelGenerator == null) { throw new ArgumentNullException(nameof(excelGenerator)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } this.excelGenerator = excelGenerator; this.context = context; }
public ExcelController(IExcelFileGenerator excelFileGenerator) { _excelFileGenerator = excelFileGenerator; }