public WriteJsonReportsFacade( IJsonService jsonService, IMySqlDatabaseContext mySqlContext, AbstractComputersFactoryDbContext sqlServercontext) { this.jsonService = jsonService; this.mySqlContext = mySqlContext; this.sqlServercontext = sqlServercontext; }
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; }