public ExcelReportsSQLiteGenerator(IVehicleVendorMySqlRepository repoMySql, IVehicleVendorSqLiteRepository repoSqLite, DateTime start, DateTime end) { this.repoMySql = repoMySql; this.repoSqLite = repoSqLite; this.start = start; this.end = end; }
public MainWindow() { InitializeComponent(); this.repo = new VehicleVendorRepository(new IVehicleVendorDbContext[] { new VehicleVendorDbContext() }); this.repoMySql = new VehicleVendorMySqlRepository(); this.repoMongo = new VehicleVendorMongoRepository(new VehicleVendorMongoDb()); this.repoSqLite = new VehicleVendorSqLiteRepository(new SqLiteContext()); }