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