public IndexModel(ILogger <IndexModel> logger, ICarModelService carFileModelService) { _logger = logger; _carModelService = carFileModelService.GetDetails(); CarMakeSL = new SelectList(_carModelService, "Id", "Model", default, "Make");
public IndexModel(IWebHostEnvironment env, ILogger <IndexModel> logger, ICarModelService carFileModelService) { _env = env; _logger = logger; _carModelService = carFileModelService.GetDetails(); CarMakeSL = new SelectList(_carModelService, "Id", "Model", default, "Make");
public IndexModel(ILogger <IndexModel> logger, ICarModelService carFileModelService, PredictionEnginePool <ModelInput, ModelOutput> predictionEnginePool) { _logger = logger; _carModelService = carFileModelService.GetDetails(); CarMakeSL = new SelectList(_carModelService, "Id", "Model", default, "Make");