public CarModel GetCarModel(int id)
        {
            CarModelLogic carModelLogic = new CarModelLogic(DB);
            CarModel      carModel      = carModelLogic.GetOneCarModel(id)
                                          .ConvertToCar();

            return(carModel);
        }
        public IActionResult GetOneCarsModels(int id)
        {
            try
            {
                CarModel_Model carModel = CarLogic.GetOneCarModel(id);
                if (carModel == null)
                {
                    return(NotFound($"id {id} not found"));
                }

                return(Ok(carModel));
            }
            catch (Exception ex)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, ErrorHelper.GetExceptionMessage(ex)));
            }
        }