public ModelsController(IVehicleModelsService models, IVehiclesService vehicles, ILogsService dbLogger) : base(dbLogger) { this.models = models; this.vehicles = vehicles; }
public GlassesInfoDbFiller(IVehicleGlassesService glasses, IVehiclesService vehicles, IVehicleMakesService makes, IVehicleModelsService models, IVehicleBodyTypesService bodytypes, IVehicleGlassImagesService images, IVehicleGlassCharacteristicsService characteristics, IVehicleInterchangeablePartsService interchangeableParts, IVehicleSuperceedsService superceeds, IVehicleAccessoriesService accessories, ILogger logger, IReader reader, ISolutionBaseConfig solutionConfig ) { this.Glasses = glasses; this.Vehicles = vehicles; this.Makes = makes; this.Models = models; this.Bodytypes = bodytypes; this.Images = images; this.Characteristics = characteristics; this.InterchangeableParts = interchangeableParts; this.Superceeds = superceeds; this.Accessories = accessories; this.Logger = logger; this.Reader = reader; this.SolutionConfig = solutionConfig; solutionDirectory = this.SolutionConfig.GetSolutionPath(); errorsfilePathToWrite = $@"{solutionDirectory}\DbFillInErorrs_{DateTime.Now.ToString("ddMMyy_HHmm")}.txt"; parsedGlassesInfofilePath = $@"{solutionDirectory}\DbFillInInfo_{DateTime.Now.ToString("ddMMyy_HHmm")}.txt"; defaultJsonFilePathToRead = $@"{solutionDirectory}\ggg\products_test.json"; }