public CarModel GetCarModel(int id) { CarModelLogic carModelLogic = new CarModelLogic(DB); CarModel carModel = carModelLogic.GetOneCarModel(id) .ConvertToCar(); return(carModel); }
public CarsModelsController(CarModelLogic logic) { CarLogic = logic; }